When initialising a queue in SYCL with ComputeCpp I get a Runtime-Error using Visual Studio 2022. Also I tried exact the same code used on the Codeplay Guide. I'm able to trigger this error just by initialising a queue, without selecting any device or something else. (selecting one doesn't help either)
#include <CL/sycl.hpp>
int main(int, char**) {
cl::sycl::queue queue;
return 0;
}
(Unhandled exception at 0x00007FF92F544FD9 in LearningComputeCpp.exe: Microsoft C++ exception: std::bad_array_new_length at memory location 0x0000005986CFF110.)
I installed ComputeCpp using the Windows installer and manually included it, aswell as OpenCL. (I'm using an AMD Radeon HD7900 GPU)