oneapi-src / oneDPL

oneAPI DPC++ Library (oneDPL) https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/dpc-library.html
Apache License 2.0
716 stars 113 forks source link

Only declaration required as make_wrapped_policy template params #1605

Closed SergeyKopienko closed 1 month ago

SergeyKopienko commented 2 months ago

In this PR we doing the next things: 1) Only declaration required as make_wrapped_policy template param 2) For aligning we declare these things always as struct.

The goal - to align these structures: their body isn't required. And we have a lot of the same structures without body. For example,

template <typename Name>
class ExclusiveScan1;
template <typename Name>
class ExclusiveScan2;

and so far and so on.

SergeyKopienko commented 1 month ago

@rarutyun, how do you think, does it make sense to apply this PR ?