Struct CUDAMacroEnvironment::MacroEnvProp

Nested Relationships

This struct is a nested type of Class CUDAMacroEnvironment.

Struct Documentation

struct MacroEnvProp

Used to group items required by properties

Public Functions

inline MacroEnvProp(const std::type_index &_type, const size_t _type_size, const std::array<unsigned int, 4> &_elements)
Parameters:
  • _type – The type index of the base type (e.g. typeid(float))

  • _type_size – The size of the base type (e.g. sizeof(float))

  • _elements – Number of elements in each dimension

inline ~MacroEnvProp()
MacroEnvProp(const MacroEnvProp &other) = delete
inline MacroEnvProp(MacroEnvProp &&other)

Public Members

std::type_index type
size_t type_size
std::array<unsigned int, 4> elements
void *d_ptr
bool is_sub