-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
I am experiencing issues trying to run GEMX 2018.2 with SDAccel 2018.3. I had to fix some paths in the makefile and was able to build a HW implementation that runs successfully. However I am not able to run ./run_app.sh gemx_func_test. It terminates with this:
***** Compile testcase generator executable *****
/apps/tools/FPGA/Xilinx/Vivado/2018.3/tps/lnx64/gcc-6.2.0/bin/g++ -g -O0 -std=c++11 -I /home/common/ven_veremin/SDx/gemx-2018.2/gemx_sw/../boost/ -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DBOOST_COMPUTE_DEBUG_KERNEL_COMPILATION -DBOOST_COMPUTE_HAVE_THREAD_LOCAL -DBOOST_COMPUTE_THREAD_SAFE -D FLOW_HLS_CSIM -D GMEM_M=0 -I ./src -I ./src/python -D TEST_SDX=1 -D GEMX_dataType=short -D GEMX_XdataType=int32_t -D GEMX_dataEqIntType=short -D GEMX_ddrWidth=32 -D GEMX_XddrWidth=16 -D GEMX_argInstrWidth=1 -D GEMX_numInstr=16 -D GEMX_gemvkVectorBlocks=512 -D GEMX_gemvmVectorBlocks=512 -D GEMX_gemvmGroups=1 -D GEMX_gemmMBlocks=1 -D GEMX_gemmKBlocks=2 -D GEMX_gemmNBlocks=1 -D GEMX_keepMacBits=1 -D GEMX_macBits=48 -D GEMX_transpBlocks=1 -D GEMX_spmvWidth=8 -D GEMX_spmvkVectorBlocks=2048 -D GEMX_spmvMacGroups=12 -D GEMX_spmvColAddIdxBits=2 -D GEMX_spmvPadA=0 -D GEMX_spmvNumCblocks=1024 -D GEMX_spmvFloatPerDesc=2 -D GEMX_idxType=int32_t -D GEMX_nnzBlocks=8 -D GEMX_spmvKmaxBlocks=32768 -D GEMX_spmvMmaxBlocks=5462 -D GEMX_spmvUramGroups=6 -D GEMX_argPipeline=2 -D GEMX_part=vcu1525 -D GEMX_useURAM=0 -D GEMX_splitMesh=1 -D GEMX_runGemv=1 -D GEMX_runGemm=1 -D GEMX_runTransp=1 -D GEMX_runSpmv=1 -D GEMX_numKernels=1 -Wno-ignored-attributes -D HLS_NO_XIL_FPO_LIB=1 -I/opt/xilinx/xrt//Vivado_HLS/include -I/apps/tools/FPGA/Xilinx/Vivado/2018.3/include -I/opt/xilinx/xrt//runtime/include/1_2 -I/opt/xilinx/xrt//include -I/opt/xilinx/xrt//include/CL -D GEMX_fpgaDdrBanks=XCL_MEM_DDR_BANK0,XCL_MEM_DDR_BANK3,XCL_MEM_DDR_BANK1,XCL_MEM_DDR_BANK2 -L/home/common/ven_veremin/SDx/gemx-2018.2/gemx_sw/../boost/libs -lboost_iostreams -lz -L/apps/tools/FPGA/Xilinx/Vivado/2018.3/tps/lnx64/gcc-6.2.0/lib64 -lxilinxopencl -L/opt/xilinx/xrt//runtime/lib/x86_64 -L/opt/xilinx/xrt//lib -lstdc++ -L/apps/tools/FPGA/Xilinx/Vivado/2018.3/tps/lnx64/gcc-6.2.0/lib64 -lrt -pthread -Wl,--rpath=/opt/xilinx/xrt//runtime/lib/x86_64 -Wl,--rpath=/home/common/ven_veremin/SDx/gemx-2018.2/gemx_sw/../boost/libs -Wl,--rpath=/apps/tools/FPGA/Xilinx/Vivado/2018.3/tps/lnx64/gcc-6.2.0/lib64 -fdata-sections -ffunction-sections -Wl,--gc-sections src/gemx_gen_bin.cpp -o out_host/gemx_gen_bin.exe
out_host/gemx_gen_bin.exe -write out_host/app.bin gemm 256 256 256 256 256 256 256 1 0 A1 B1 C1 X1 gemv 256 256 288 A2 B2 C2 spmv 96 128 256 none A3 B3 C3 transp 32 32 64 96 rm cm A4 B4
GEMX: out_host/gemx_gen_bin.exe -write out_host/app.bin
Added GEMM 256x256x256
Added GEMV 256x256
gemx_gen_bin.exe: src/gemx_gen_bin.h:357: SpMat<Tddr, TmatD, Tmat>::SpMat(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, Tddr*) [with Tddr = short int; TmatD = gemx::SpmvAd<short int, 16, 2, 8>; Tmat = gemx::SpmvA<short int, 16, 2, 8>]: Assertion `sizeof(Tddr) * SpmvType::getDdrWidth() == sizeof(TmatD) * SpmvType::getSpmvWidth()' failed.
make: *** [out_host/app_gold.txt] Aborted
or
./verify.sh
hw_em
gemm
finishes simulation with this:
Compared 1048576 values: exact match 1044480 within tolerance 4 mismatch 4092
Gemm C Differs
########### Op Gemm ###########
C = postScale(A * B + X) 1024x1024 = 1024x1024 * 1024x1024 + 1024 x 1024
Comparing ...
row 15 col 15 ValRef -21786 Val 12633 DifRel 1.57987 DifAbs 34419 Status 0
row 15 col 31 ValRef -19158 Val 12546 DifRel 1.65487 DifAbs 31704 Status 0
...
row 1023 col 991 ValRef 18528 Val 21531 DifRel 0.162079 DifAbs 3003 Status 0
row 1023 col 1007 ValRef 21462 Val 20156 DifRel 0.0608517 DifAbs 1306 Status 0
row 1023 col 1023 ValRef 16656 Val 19942 DifRel 0.197286 DifAbs 3286 Status 0
Compared 1048576 values: exact match 1044480 within tolerance 1 mismatch 4095
Gemm C Differs
make[2]: *** [check] Error 1
make[2]: Leaving directory `/home/common/ven_veremin/SDx/gemx-2018.2/gemx_'
make[1]: *** [run_em_int] Error 2
rm out_hw_emu/k0dirmake[1]: unlink: out_hw_emu/k0dir: Is a directory
Are you going to update the library to 2018.3?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels