Skip to content

bench directory  #2

@jinz2014

Description

@jinz2014

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions