Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::Cuda::GPUContextManager Class Reference
module nullptr

#include <cuda_internal.h>

Inheritance diagram for Realm::Cuda::GPUContextManager:
Collaboration diagram for Realm::Cuda::GPUContextManager:

Public Member Functions

 GPUContextManager (GPU *_gpu, GPUProcessor *proc)
 
void * create_context (Task *task) const override
 
void destroy_context (Task *task, void *context) const override
 
void * create_context (InternalTask *task) const override
 
void destroy_context (InternalTask *task, void *context) const override
 

Public Attributes

GPUgpu = nullptr
 
GPUProcessorproc = nullptr
 

Constructor & Destructor Documentation

◆ GPUContextManager()

Realm::Cuda::GPUContextManager::GPUContextManager ( GPU _gpu,
GPUProcessor proc 
)

Member Function Documentation

◆ create_context() [1/2]

void * Realm::Cuda::GPUContextManager::create_context ( InternalTask task) const
overridevirtual

Reimplemented from Realm::TaskContextManager.

◆ create_context() [2/2]

void * Realm::Cuda::GPUContextManager::create_context ( Task task) const
overridevirtual

Reimplemented from Realm::TaskContextManager.

◆ destroy_context() [1/2]

void Realm::Cuda::GPUContextManager::destroy_context ( InternalTask task,
void *  context 
) const
overridevirtual

Reimplemented from Realm::TaskContextManager.

◆ destroy_context() [2/2]

void Realm::Cuda::GPUContextManager::destroy_context ( Task task,
void *  context 
) const
overridevirtual

Reimplemented from Realm::TaskContextManager.

Member Data Documentation

◆ gpu

GPU* Realm::Cuda::GPUContextManager::gpu = nullptr

◆ proc

GPUProcessor* Realm::Cuda::GPUContextManager::proc = nullptr

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