![]() |
OpenLB 1.8.1
|
Structure for passing pointers to on-device data into CUDA kernels. More...
#include <context.hh>
Inheritance diagram for olb::gpu::cuda::DeviceContext< T, DESCRIPTOR >:
Collaboration diagram for olb::gpu::cuda::DeviceContext< T, DESCRIPTOR >:Public Types | |
| using | value_t = T |
| using | descriptor_t = DESCRIPTOR |
Public Member Functions | |
| template<concepts::ConcreteFieldsContainer CONTAINER> | |
| DeviceContext (CONTAINER &lattice) __host__ | |
| DeviceContext (ConcreteBlockD< 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 36 of file dynamics.hh.
| using olb::gpu::cuda::DeviceContext< T, DESCRIPTOR >::descriptor_t = DESCRIPTOR |
Definition at line 84 of file context.hh.
| using olb::gpu::cuda::DeviceContext< T, DESCRIPTOR >::value_t = T |
Definition at line 83 of file context.hh.
|
inline |
Definition at line 87 of file context.hh.
|
inline |
Definition at line 98 of file context.hh.
|
inline |
Definition at line 109 of file context.hh.
References olb::gpu::cuda::field_type_index.
|
inline |
Definition at line 104 of file context.hh.
Here is the caller graph for this function: