![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Helper class to wrap device global memory data. More...
#include <globalMem.hpp>
Public Member Functions | |
| constexpr | GlobalDeviceMemoryDataWrapper (auto const &... args) |
| T * | data () |
| T const * | data () const |
Public Attributes | |
| T | value |
Helper class to wrap device global memory data.
The reason why this wrapper is required is that SYCL oneAPI is using a special type which does not support C array initialization. All arguments passed to the wrapper constructor are forwarded to the data member.
Definition at line 146 of file globalMem.hpp.
|
inlineconstexpr |
Definition at line 148 of file globalMem.hpp.
|
inline |
Definition at line 154 of file globalMem.hpp.
|
inline |
Definition at line 159 of file globalMem.hpp.
| T alpaka::onAcc::internal::GlobalDeviceMemoryDataWrapper< T >::value |
Definition at line 152 of file globalMem.hpp.