-
Couldn't load subscription status.
- Fork 42
XDNA Driver
Maksim Levental edited this page Oct 3, 2024
·
2 revisions
- Download both
binaries.tar.gzanddpu-tests.tar.gzfrom e.g.NPU1_1x4_TESTCASESfromGEnt/TurinAI/amd-aie/tools/npu/npu_info.json;- unpack
binaries.tar.gzto justnpu1_workspace; - unpack the specific
modeltest case listed/specified innpu_info.json(e.g.,test_cases/conv_case_6) tonpu1_workspace/data;
- unpack
- copy
GEnt/TurinAI/amd-aie/local_shim_test_datato root of OSS repo; - fiddle with the paths in
-
xrt/src/runtime_src/core/common/module_loader.cpp::shim_path; -
test/shim_test/dev_info.cpp::get_xclbin_workspace; -
test/shim_test/shim_test.cpp::set_xrt_path;
-
- do a
sed -i 's/32000/10/g' test/shim_test/shim_test.cppto speed up tests.
shim_test.elf doesn't depend on the shim itself 🤦 so be sure to rebuild all each time.