After building and installing ROCm-Device-libs the corresponding check fails:
make test
Running tests...
Test project ~/sonst/ROCm-Device-Libs/build
Start 1: test_common:llvm-objdump
1/6 Test #1: test_common:llvm-objdump ......... Passed 0.09 sec
Start 2: test_common:amdhsacod
2/6 Test #2: test_common:amdhsacod ............***Failed 0.14 sec
Start 3: test_math:llvm-objdump
3/6 Test #3: test_math:llvm-objdump ........... Passed 4.09 sec
Start 4: test_math:amdhsacod
4/6 Test #4: test_math:amdhsacod ..............***Failed 8.12 sec
Start 5: test_workitem:llvm-objdump
5/6 Test #5: test_workitem:llvm-objdump ....... Passed 0.01 sec
Start 6: test_workitem:amdhsacod
6/6 Test #6: test_workitem:amdhsacod ..........***Failed 0.04 sec
50% tests passed, 3 tests failed out of 6
Total Test time (real) = 19.72 sec
The following tests FAILED:
2 - test_common:amdhsacod (Failed)
4 - test_math:amdhsacod (Failed)
6 - test_workitem:amdhsacod (Failed)
Errors while running CTest
Makefile:151: recipe for target 'test' failed
make: *** [test] Error 8
Specifically, the three failing tests, e.g.
/opt/rocm/hsa/bin/amdhsacod -test -code ~/sonst/ROCm-Device-Libs/build/test/opencl/test_common_code.co
print a lot of text before stopping with
AMD HSA Code Object End
Error: loader failed (hsa status = The code object is invalid.)
Any idea what the problem is? vector_copy works, and the libhsa-ext-* libraries seem to be in the proper place.
After building and installing ROCm-Device-libs the corresponding check fails:
Specifically, the three failing tests, e.g.
/opt/rocm/hsa/bin/amdhsacod -test -code ~/sonst/ROCm-Device-Libs/build/test/opencl/test_common_code.co
print a lot of text before stopping withAny idea what the problem is? vector_copy works, and the libhsa-ext-* libraries seem to be in the proper place.