Openholo  v4.1
Open Source Digital Holographic Library
CUDA Class Reference

#include <CUDA.h>

Public Member Functions

void setCurThreads (int thread)
 
int getCurThreads ()
 
int getMaxThreads ()
 
int getWarpSize ()
 
void printMemoryInfo (uint64_t total, uint64_t free)
 
void setCurThreads (int thread)
 
int getCurThreads ()
 
int getMaxThreads ()
 
int getWarpSize ()
 
void printMemoryInfo (uint64_t total, uint64_t free)
 

Static Public Member Functions

static CUDAgetInstance ()
 
static void releaseInstance ()
 
static CUDAgetInstance ()
 
static void releaseInstance ()
 

Detailed Description

Definition at line 7 of file CUDA.h.

Member Function Documentation

◆ getCurThreads() [1/2]

int CUDA::getCurThreads ( )
inline

Definition at line 33 of file CUDA.h.

◆ getCurThreads() [2/2]

int CUDA::getCurThreads ( )
inline

Definition at line 33 of file CUDA.h.

◆ getInstance() [1/2]

static CUDA* CUDA::getInstance ( )
inlinestatic

Definition at line 17 of file CUDA.h.

◆ getInstance() [2/2]

static CUDA* CUDA::getInstance ( )
inlinestatic

Definition at line 17 of file CUDA.h.

◆ getMaxThreads() [1/2]

int CUDA::getMaxThreads ( )
inline

Definition at line 34 of file CUDA.h.

◆ getMaxThreads() [2/2]

int CUDA::getMaxThreads ( )
inline

Definition at line 34 of file CUDA.h.

◆ getWarpSize() [1/2]

int CUDA::getWarpSize ( )
inline

Definition at line 35 of file CUDA.h.

◆ getWarpSize() [2/2]

int CUDA::getWarpSize ( )
inline

Definition at line 35 of file CUDA.h.

◆ printMemoryInfo() [1/2]

void CUDA::printMemoryInfo ( uint64_t  total,
uint64_t  free 
)

◆ printMemoryInfo() [2/2]

void CUDA::printMemoryInfo ( uint64_t  total,
uint64_t  free 
)

Definition at line 78 of file CUDA.cpp.

◆ releaseInstance() [1/2]

static void CUDA::releaseInstance ( )
inlinestatic

Definition at line 25 of file CUDA.h.

◆ releaseInstance() [2/2]

static void CUDA::releaseInstance ( )
inlinestatic

Definition at line 25 of file CUDA.h.

◆ setCurThreads() [1/2]

void CUDA::setCurThreads ( int  thread)
inline

Definition at line 32 of file CUDA.h.

◆ setCurThreads() [2/2]

void CUDA::setCurThreads ( int  thread)
inline

Definition at line 32 of file CUDA.h.


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