-
Notifications
You must be signed in to change notification settings - Fork 3
Description
It seems that the 'bench' is not available in the repo.
In addition, I got the following errors using ComputeCpp 1.1.4
/home/cc/SYCL-PRNG/examples/SYCL-RandomSeed.cpp:101:33: error: [Computecpp:CC0007]: cannot capture accessor<unsigned int, 1, cl::sycl::access::mode::read,
cl::sycl::access::target::host_buffer, cl::sycl::access::placeholder::false_t> in a SYCL kernel
auto seed = seeds[i];
^
/home/cc/SYCL-PRNG/examples/SYCL-RandomSeed.cpp:101:33: note: Cannot pass host accessor to SYCL kernel
/home/cc/SYCL-PRNG/examples/SYCL-RandomSeed.cpp:109:21: error: [Computecpp:CC0007]: cannot capture
accessor<prng::tiny_mersenne_twister_engine_64<3492747780, 4269866912, 8147695553149304826>, 1, cl::sycl::access::mode::write,
cl::sycl::access::target::host_buffer, cl::sycl::access::placeholder::false_t> in a SYCL kernel
engines[i] = engine; // copy CTOR
^
/home/cc/SYCL-PRNG/examples/SYCL-RandomSeed.cpp:109:21: note: Cannot pass host accessor to SYCL kernel
/home/cc/SYCL-PRNG/examples/SYCL-RandomSeed.cpp:123:33: error: [Computecpp:CC0007]: cannot capture accessor<unsigned int, 1, cl::sycl::access::mode::read,
cl::sycl::access::target::host_buffer, cl::sycl::access::placeholder::false_t> in a SYCL kernel
auto seed = seeds[i];
^
Thanks for your help