OpenLB 1.7
No Matches
Public Member Functions | Public Attributes | List of all members
olb::gpu::cuda::AnyDeviceFieldArrayD Struct Reference

Type-erased pointer to FieldArrayD device data. More...

#include <registry.h>

+ Collaboration diagram for olb::gpu::cuda::AnyDeviceFieldArrayD:

Public Member Functions

std::uint8_t * operator[] (unsigned iD) __device__

Public Attributes

void ** data
unsigned column_count
unsigned element_size

Detailed Description

Type-erased pointer to FieldArrayD device data.

Used for dynamic communication buffer (de)serialization

Definition at line 42 of file registry.h.

Member Function Documentation

◆ operator[]()

std::uint8_t * olb::gpu::cuda::AnyDeviceFieldArrayD::operator[] ( unsigned iD)

Definition at line 47 of file registry.h.

47 {
48 return reinterpret_cast<std::uint8_t*>(data[iD]);
49 }

References data.

Member Data Documentation

◆ column_count

unsigned olb::gpu::cuda::AnyDeviceFieldArrayD::column_count

Definition at line 44 of file registry.h.

◆ data

void** olb::gpu::cuda::AnyDeviceFieldArrayD::data

Definition at line 43 of file registry.h.

◆ element_size

unsigned olb::gpu::cuda::AnyDeviceFieldArrayD::element_size

Definition at line 45 of file registry.h.

The documentation for this struct was generated from the following file: