Changes between Version 16 and Version 17 of Tutorials/Edge Computing/Alveo Getting Started


Ignore:
Timestamp:
Dec 6, 2019, 5:52:03 AM (4 years ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Edge Computing/Alveo Getting Started

    v16 v17  
    151151* Multiple examples, from various sources have been cloned to the node image. A simple matrix multiplication application obtained from https://github.com/Xilinx/Vitis-Tutorials/blob/master/docs/Pathway3 is demonstrated in this tutorial. The xclbin files for software emulation, hardware emulation and hardware targets were built following instructions in the Vitis-Tutorials repository. Slightly modified host code (to display the output) was also built. Run the accelerated application on the Alveo U200 target using the following command
    152152{{{
     153root@node1-6:~/Vitis-Tutorials/docs/Pathway3/reference-files/run# ./host mmult.hw.xilinx_u200_xdma_201830_2.xclbin
     154Found Platform
     155Platform Name: Xilinx
     156INFO: Reading mmult.hw.xilinx_u200_xdma_201830_2.xclbin
     157Loading: 'mmult.hw.xilinx_u200_xdma_201830_2.xclbin'
     158
     159INPUT MATRIX
     1600 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
     1616 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     1622 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7
     1638 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
     1644 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
     1650 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
     1666 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     1672 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7
     1688 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
     1694 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
     1700 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
     1716 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     1722 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7
     1738 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
     1744 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
     1750 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
     176
     177OUTPUT MATRIX
     178250 310 230 290 270 330 220 280 230 290 250 310 230 290 270 330
     179330 406 262 338 254 330 356 432 318 394 330 406 262 338 254 330
     180250 322 294 366 298 370 312 384 286 358 250 322 294 366 298 370
     181250 318 306 374 222 290 248 316 334 402 250 318 306 374 222 290
     182290 374 298 382 366 450 344 428 382 466 290 374 298 382 366 450
     183250 310 230 290 270 330 220 280 230 290 250 310 230 290 270 330
     184330 406 262 338 254 330 356 432 318 394 330 406 262 338 254 330
     185250 322 294 366 298 370 312 384 286 358 250 322 294 366 298 370
     186250 318 306 374 222 290 248 316 334 402 250 318 306 374 222 290
     187290 374 298 382 366 450 344 428 382 466 290 374 298 382 366 450
     188250 310 230 290 270 330 220 280 230 290 250 310 230 290 270 330
     189330 406 262 338 254 330 356 432 318 394 330 406 262 338 254 330
     190250 322 294 366 298 370 312 384 286 358 250 322 294 366 298 370
     191250 318 306 374 222 290 248 316 334 402 250 318 306 374 222 290
     192290 374 298 382 366 450 344 428 382 466 290 374 298 382 366 450
     193250 310 230 290 270 330 220 280 230 290 250 310 230 290 270 330
     194TEST PASSED
     195
    153196}}}   
    154 
     197* Host code uses OpenCL API calls to send both the input matrices, configure the kernel, start the task and read the output matrix back. Received result is then compared with a result obtained from host computation.
    155198[[CollapsibleEnd]]
    156199