VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
vf::cuda Namespace Reference

Classes

struct  CudaGrid
 
class  CudaTimer
 

Functions

dim3 getCudaGrid (unsigned int numberOfThreads, unsigned int numberOfEntities)
 
__inline__ __device__ unsigned int get1DIndexFrom2DBlock ()
 
int getDeviceCount ()
 
std::vector< uint > getAllAvailableDevices ()
 
void verifyNumberOfDevices (int deviceId)
 
void verifyComputeCapability (int deviceId)
 
void setCudaDevice (int deviceId)
 
void verifyAndSetDevice (int deviceId)
 
std::string getGPUName (int deviceId)
 
std::string getComputeCapability (int deviceId)
 
void printCudaInformation (int deviceId)
 

Function Documentation

◆ getAllAvailableDevices()

std::vector< uint > vf::cuda::getAllAvailableDevices ( )

Definition at line 56 of file DeviceInfo.cpp.

◆ getComputeCapability()

std::string vf::cuda::getComputeCapability ( int  deviceId)

Definition at line 124 of file DeviceInfo.cpp.

◆ getCudaGrid()

dim3 vf::cuda::getCudaGrid ( unsigned int  numberOfThreads,
unsigned int  numberOfEntities 
)

Definition at line 49 of file CudaGrid.cpp.

◆ getDeviceCount()

int vf::cuda::getDeviceCount ( )

Definition at line 47 of file DeviceInfo.cpp.

◆ getGPUName()

std::string vf::cuda::getGPUName ( int  deviceId)

Definition at line 111 of file DeviceInfo.cpp.

◆ printCudaInformation()

void vf::cuda::printCudaInformation ( int  deviceId)

Definition at line 137 of file DeviceInfo.cpp.

◆ setCudaDevice()

void vf::cuda::setCudaDevice ( int  deviceId)

Definition at line 87 of file DeviceInfo.cpp.

◆ verifyAndSetDevice()

void vf::cuda::verifyAndSetDevice ( int  deviceId)

Definition at line 103 of file DeviceInfo.cpp.

◆ verifyComputeCapability()

void vf::cuda::verifyComputeCapability ( int  deviceId)

Definition at line 71 of file DeviceInfo.cpp.

◆ verifyNumberOfDevices()

void vf::cuda::verifyNumberOfDevices ( int  deviceId)

Definition at line 63 of file DeviceInfo.cpp.