Openholo  v4.2
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)
 
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 ()
 
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/4]

int CUDA::getCurThreads ( )
inline

Definition at line 33 of file CUDA.h.

◆ getCurThreads() [2/4]

int CUDA::getCurThreads ( )
inline

Definition at line 33 of file CUDA.h.

◆ getCurThreads() [3/4]

int CUDA::getCurThreads ( )
inline

Definition at line 33 of file CUDA.h.

◆ getCurThreads() [4/4]

int CUDA::getCurThreads ( )
inline

Definition at line 33 of file CUDA.h.

◆ getInstance() [1/4]

static CUDA* CUDA::getInstance ( )
inlinestatic

Definition at line 17 of file CUDA.h.

◆ getInstance() [2/4]

static CUDA* CUDA::getInstance ( )
inlinestatic

Definition at line 17 of file CUDA.h.

◆ getInstance() [3/4]

static CUDA* CUDA::getInstance ( )
inlinestatic

Definition at line 17 of file CUDA.h.

◆ getInstance() [4/4]

static CUDA* CUDA::getInstance ( )
inlinestatic

Definition at line 17 of file CUDA.h.

◆ getMaxThreads() [1/4]

int CUDA::getMaxThreads ( )
inline

Definition at line 34 of file CUDA.h.

◆ getMaxThreads() [2/4]

int CUDA::getMaxThreads ( )
inline

Definition at line 34 of file CUDA.h.

◆ getMaxThreads() [3/4]

int CUDA::getMaxThreads ( )
inline

Definition at line 34 of file CUDA.h.

◆ getMaxThreads() [4/4]

int CUDA::getMaxThreads ( )
inline

Definition at line 34 of file CUDA.h.

◆ getWarpSize() [1/4]

int CUDA::getWarpSize ( )
inline

Definition at line 35 of file CUDA.h.

◆ getWarpSize() [2/4]

int CUDA::getWarpSize ( )
inline

Definition at line 35 of file CUDA.h.

◆ getWarpSize() [3/4]

int CUDA::getWarpSize ( )
inline

Definition at line 35 of file CUDA.h.

◆ getWarpSize() [4/4]

int CUDA::getWarpSize ( )
inline

Definition at line 35 of file CUDA.h.

◆ printMemoryInfo() [1/4]

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

◆ printMemoryInfo() [2/4]

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

◆ printMemoryInfo() [3/4]

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

Definition at line 78 of file CUDA.cpp.

◆ printMemoryInfo() [4/4]

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

◆ releaseInstance() [1/4]

static void CUDA::releaseInstance ( )
inlinestatic

Definition at line 25 of file CUDA.h.

◆ releaseInstance() [2/4]

static void CUDA::releaseInstance ( )
inlinestatic

Definition at line 25 of file CUDA.h.

◆ releaseInstance() [3/4]

static void CUDA::releaseInstance ( )
inlinestatic

Definition at line 25 of file CUDA.h.

◆ releaseInstance() [4/4]

static void CUDA::releaseInstance ( )
inlinestatic

Definition at line 25 of file CUDA.h.

◆ setCurThreads() [1/4]

void CUDA::setCurThreads ( int  thread)
inline

Definition at line 32 of file CUDA.h.

◆ setCurThreads() [2/4]

void CUDA::setCurThreads ( int  thread)
inline

Definition at line 32 of file CUDA.h.

◆ setCurThreads() [3/4]

void CUDA::setCurThreads ( int  thread)
inline

Definition at line 32 of file CUDA.h.

◆ setCurThreads() [4/4]

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: