UoB-HPC / BabelStream

STREAM, for lots of devices written in many programming models
Other
325 stars 112 forks source link

Update for SYCL 2020 Provisional #77

Closed tomdeakin closed 2 years ago

tomdeakin commented 4 years ago

There will probably be a number of changes, but the main one is to update the accessors to use the simpler form:

auto ka = d_a->template get_access<access::mode::read>(cgh); // SYCL 1.2.1
auto ka = d_a->template get_access(cgh, sycl::read_only);    // SYCL 2020 Provisional

Should probably use accessor constructers instead of get_access, with read and write versions.

Implement Dot using the reduction support in SYCL 2020 Provisional.

tomdeakin commented 2 years ago

Completed for v4.0 in #89