OpenLB 1.7
|
Structure for passing pointers to on-device data into CUDA kernels. More...
#include <context.hh>
Public Types | |
using | value_t = T |
using | descriptor_t = DESCRIPTOR |
Public Member Functions | |
DeviceContext (ConcreteBlockLattice< T, DESCRIPTOR, Platform::GPU_CUDA > &lattice) __host__ | |
std::size_t | getNcells () const any_platform |
template<typename FIELD > | |
FIELD::template value_type< T > ** | getField () __device__ |
Structure for passing pointers to on-device data into CUDA kernels.
Definition at line 55 of file context.hh.
using olb::gpu::cuda::DeviceContext< T, DESCRIPTOR >::descriptor_t = DESCRIPTOR |
Definition at line 71 of file context.hh.
using olb::gpu::cuda::DeviceContext< T, DESCRIPTOR >::value_t = T |
Definition at line 70 of file context.hh.
|
inline |
Definition at line 73 of file context.hh.
|
inline |
Definition at line 84 of file context.hh.
|
inline |
Definition at line 79 of file context.hh.