Refer to L3/src/sw/python_api/test_gemm.py
for using Python APIs to test gemm. To run that case in hw, use the following steps:
- Build the shared library.
- Set PYTHONPATH.
- Find the path to the xclbin, and run the command:
source /opt/xilinx/xrt/setup.sh cd L3/src/sw/python_api/ make api export PYTHONPATH=./:../../../../L1/tests/sw/python/ python test_gemm.py --xclbin PATH_TO_GEMM_XCLBIN/blas.xclbin --cfg PATH_TO_GEMM_XCLBIN/config_info.dat --lib ./lib/xfblas.so