Compute Library
 21.08
MemoryInfo Struct Reference

#include <Types.h>

Public Member Functions

 MemoryInfo ()=default
 
 MemoryInfo (int slot, size_t size, size_t alignment=0) noexcept
 
 MemoryInfo (int slot, MemoryLifetime lifetime, size_t size, size_t alignment=0) noexcept
 

Data Fields

int slot { ACL_UNKNOWN }
 
MemoryLifetime lifetime { MemoryLifetime::Temporary }
 
size_t size { 0 }
 
size_t alignment { 64 }
 

Detailed Description

Definition at line 89 of file Types.h.

Constructor & Destructor Documentation

◆ MemoryInfo() [1/3]

MemoryInfo ( )
default

◆ MemoryInfo() [2/3]

MemoryInfo ( int  slot,
size_t  size,
size_t  alignment = 0 
)
inlinenoexcept

Definition at line 93 of file Types.h.

◆ MemoryInfo() [3/3]

MemoryInfo ( int  slot,
MemoryLifetime  lifetime,
size_t  size,
size_t  alignment = 0 
)
inlinenoexcept

Definition at line 100 of file Types.h.

Field Documentation

◆ alignment

size_t alignment { 64 }

Definition at line 110 of file Types.h.

◆ lifetime

Definition at line 108 of file Types.h.

◆ size

size_t size { 0 }

Definition at line 109 of file Types.h.

◆ slot

int slot { ACL_UNKNOWN }

Definition at line 107 of file Types.h.


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