unisa-hpc / sycl-bench

SYCL Benchmark Suite
BSD 3-Clause "New" or "Revised" License
56 stars 31 forks source link

Make InitializationDummyKernel::operator() const #43

Closed illuhad closed 2 years ago

illuhad commented 3 years ago

SYCL 2020 does not allow mutable kernels, so InitializationDummyKernel::operator() must be const. Otherwise e.g. DPC++ cannot compile SYCL-Bench.