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

#include <GPUOutputControl.h>

Public Member Functions

 GPUOutputControl ()=default
 
void set (void *p, size_t s)
 
void set (const std::function< void *(size_t)> &a)
 
void reset ()
 
bool useExternal ()
 
bool useInternal ()
 
void checkCurrent ()
 

Public Attributes

voidptrBase = nullptr
 
voidptrCurrent = nullptr
 
size_t size = 0
 
std::function< void *(size_t)> allocator = nullptr
 

Detailed Description

Definition at line 34 of file GPUOutputControl.h.

Constructor & Destructor Documentation

◆ GPUOutputControl()

o2::gpu::GPUOutputControl::GPUOutputControl ( )
default

Member Function Documentation

◆ checkCurrent()

void o2::gpu::GPUOutputControl::checkCurrent ( )
inline

Definition at line 53 of file GPUOutputControl.h.

◆ reset()

void o2::gpu::GPUOutputControl::reset ( )
inline

Definition at line 47 of file GPUOutputControl.h.

◆ set() [1/2]

void o2::gpu::GPUOutputControl::set ( const std::function< void *(size_t)> &  a)
inline

Definition at line 42 of file GPUOutputControl.h.

◆ set() [2/2]

void o2::gpu::GPUOutputControl::set ( void p,
size_t  s 
)
inline

Definition at line 36 of file GPUOutputControl.h.

◆ useExternal()

bool o2::gpu::GPUOutputControl::useExternal ( )
inline

Definition at line 51 of file GPUOutputControl.h.

◆ useInternal()

bool o2::gpu::GPUOutputControl::useInternal ( )
inline

Definition at line 52 of file GPUOutputControl.h.

Member Data Documentation

◆ allocator

std::function<void*(size_t)> o2::gpu::GPUOutputControl::allocator = nullptr

Definition at line 63 of file GPUOutputControl.h.

◆ ptrBase

void* o2::gpu::GPUOutputControl::ptrBase = nullptr

Definition at line 60 of file GPUOutputControl.h.

◆ ptrCurrent

void* o2::gpu::GPUOutputControl::ptrCurrent = nullptr

Definition at line 61 of file GPUOutputControl.h.

◆ size

size_t o2::gpu::GPUOutputControl::size = 0

Definition at line 62 of file GPUOutputControl.h.


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