opencl3
opencl3 copied to clipboard
test_opencl_2_kernel_example fails on AMD Ryzen 5 2500U GPU
Running: cargo test -- --test-threads=1 --show-output --ignored on a AMD Ryzen 5 2500U running Windows 11 Pro 23H2 build 22631.4602 and OpenCL® Driver Version: 31.0.21921.1000 failed with:
OpenCL kernel_0_name: sum_int
sum results: [3, 0, 0, 0, 0, 0, 0, 0]
thread 'test_opencl_2_kernel_example' panicked at tests\opencl2_kernel_test.rs:177:9:
assertion `left == right` failed
left: 33
right: 3
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Note: it passed when run on the CPU by replacing CL_DEVICE_TYPE_GPU with CL_DEVICE_TYPE_CPU