Migration Verification
After migrating oneDNN, use the test case included in the software package to check whether the migration is successful.
- Go to the /path/to/kail_dnn_adapter/out/oneDNN-3.4/build directory.
cd /path/to/kail_dnn_adapter/out/oneDNN-3.4/build
- Run the test case.
- Kunpeng 920 7285Z
ctest
If the execution results of all tests are passed, the oneDNN compilation is successful.

- Kunpeng 920 72F8
MEMKIND_HBW_NODES=16-31 MEM_TYPE=HBM taskset -c 0-37 ctest
If the execution results of all tests are passed, the oneDNN compilation is successful.

If HBM is not used, you can use export KML_BLAS_NOT_USE_HBM=1 to set the environment variable. You are advised to use export KML_BLAS_THREAD_TYPE=OMP to specify the OMP thread control mode for KML.
- Kunpeng 920 7285Z
Parent topic: Migrating oneDNN to KAIL_DNN