Hi, I encountered a weird issue when adding a new target followed the official doc: Creating a New ComputeMux Target - Guides - oneAPI Construction Kit - Products - Codeplay Developer
The error log is:
$ oneAPIConstructionKit/bin/UnitCL --gtest_filter=Execution/Execution.Task_01_02_Add/OpenCLC
Random numbers generated using std::mt19937 with seed 4205099901
Note: Google Test filter = Execution/Execution.Task_01_02_Add/OpenCLC
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from Execution/Execution
[ RUN ] Execution/Execution.Task_01_02_Add/OpenCLC
error: 'Load Access Fault' exception was raised @ 0x100e0 (badaddr = 0x0)
/home/ubuntu/projects/oneapi-construction-kit/modules/kts/include/kts/execution_shared.h:30: Failure
Invalid data when validating buffer 2:
Result mismatch at index 1 (expected: 8, actual: 0)
[ FAILED ] Execution/Execution.Task_01_02_Add/OpenCLC, where GetParam() = 0 (39 ms)
[----------] 1 test from Execution/Execution (39 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (44 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] Execution/Execution.Task_01_02_Add/OpenCLC, where GetParam() = 0
1 FAILED TEST
The OCK code that I used is the latest main branch.
Does the oneapi-construction-kit 3.0.0 doc still match the 4.0.0 code ?
If not, where can I find the 4.0.0 doc?