Project
Loading...
Searching...
No Matches
o2::gpu::GPUMemoryReuse Struct Reference

#include <GPUMemoryResource.h>

Public Types

enum  Type : int32_t { NONE = 0 , REUSE_1TO1 = 1 }
 
enum  Group : uint16_t {
  ClustererScratch , ClustererZS , TrackerScratch , TrackerDataLinks ,
  TrackerDataWeights
}
 
using ID = uint32_t
 

Public Member Functions

 GPUMemoryReuse (Type t, Group g, uint16_t i)
 
 GPUMemoryReuse (bool condition, Type t, Group g, uint16_t i)
 
constexpr GPUMemoryReuse ()=default
 

Public Attributes

Type type = NONE
 
ID id = 0
 

Detailed Description

Definition at line 24 of file GPUMemoryResource.h.

Member Typedef Documentation

◆ ID

using o2::gpu::GPUMemoryReuse::ID = uint32_t

Definition at line 36 of file GPUMemoryResource.h.

Member Enumeration Documentation

◆ Group

Enumerator
ClustererScratch 
ClustererZS 
TrackerScratch 
TrackerDataLinks 
TrackerDataWeights 

Definition at line 29 of file GPUMemoryResource.h.

◆ Type

Enumerator
NONE 
REUSE_1TO1 

Definition at line 25 of file GPUMemoryResource.h.

Constructor & Destructor Documentation

◆ GPUMemoryReuse() [1/3]

o2::gpu::GPUMemoryReuse::GPUMemoryReuse ( Type  t,
Group  g,
uint16_t  i 
)
inline

Definition at line 38 of file GPUMemoryResource.h.

◆ GPUMemoryReuse() [2/3]

o2::gpu::GPUMemoryReuse::GPUMemoryReuse ( bool  condition,
Type  t,
Group  g,
uint16_t  i 
)
inline

Definition at line 39 of file GPUMemoryResource.h.

◆ GPUMemoryReuse() [3/3]

constexpr o2::gpu::GPUMemoryReuse::GPUMemoryReuse ( )
constexprdefault

Member Data Documentation

◆ id

ID o2::gpu::GPUMemoryReuse::id = 0

Definition at line 48 of file GPUMemoryResource.h.

◆ type

Type o2::gpu::GPUMemoryReuse::type = NONE

Definition at line 47 of file GPUMemoryResource.h.


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