Tinker9 70bd052 (Thu Nov 9 12:11:35 2023 -0800)
Loading...
Searching...
No Matches
Classes | Functions | Variables
NVIDIA GPU

Classes

struct  tinker::DeviceAttribute
 Device attributes. More...
 

Functions

std::string tinker::gpuCudaRuntimeVersion ()
 
std::string tinker::gpuCudaDriverVersion ()
 
std::string tinker::gpuThrustVersion ()
 
std::vector< DeviceAttribute > & tinker::gpuDeviceAttributes ()
 

Variables

constexpr unsigned tinker::WARP_SIZE = 32
 
constexpr unsigned tinker::ALL_LANES = 0xFFFFFFFF
 Mask for all of the lanes in a warp. More...
 
constexpr unsigned tinker::BLOCK_DIM = 128
 Default dimension of thread blocks. More...
 
constexpr int tinker::PME_BLOCKDIM = 64
 Dimension of the thread blocks for some PME kernels. More...
 

Detailed Description

Number of threads in a warp.


Class Documentation

◆ tinker::DeviceAttribute

struct tinker::DeviceAttribute

Device attributes.

Public Attributes

int device
 Device number. More...
 
std::string name
 Device name. More...
 
std::string pci_string
 PCI Bus ID. More...
 
int cc_major
 Major compute capability. More...
 
int cc_minor
 Minor compute capability. More...
 
int cc
 Compute capability multiplied by 10. More...
 
int single_double_ratio
 Single to double precision performance ratio. More...
 
std::string compute_mode_string
 exclusive thread, prohibited, exclusive process, or default. More...
 
std::string ecc_string
 on, or off. More...
 
size_t free_mem_bytes
 Free device memory in bytes. More...
 
size_t total_mem_bytes
 Total device memory in bytes. More...
 
int max_threads_per_block
 Maximum threads per block. More...
 
int max_shared_bytes_per_block
 Maximum shared memory per block in bytes. More...
 
int multiprocessor_count
 Multiprocessor count. More...
 
int max_threads_per_multiprocessor
 Maximum threads per multiprocessor. More...
 
int max_shared_bytes_per_multiprocessor
 Maximum shared memory per mutiprocessor in bytes. More...
 
int max_blocks_per_multiprocessor
 Maximum thread blocks per multiporcessor. More...
 
int cores_per_multiprocessor
 Number of cores per multiprocessor. More...
 
int clock_rate_kHz
 Clock frequency in kHz, not memory clock rate. More...
 

Member Data Documentation

◆ cc

int tinker::DeviceAttribute::cc

Compute capability multiplied by 10.

◆ cc_major

int tinker::DeviceAttribute::cc_major

Major compute capability.

◆ cc_minor

int tinker::DeviceAttribute::cc_minor

Minor compute capability.

◆ clock_rate_kHz

int tinker::DeviceAttribute::clock_rate_kHz

Clock frequency in kHz, not memory clock rate.

◆ compute_mode_string

std::string tinker::DeviceAttribute::compute_mode_string

exclusive thread, prohibited, exclusive process, or default.

◆ cores_per_multiprocessor

int tinker::DeviceAttribute::cores_per_multiprocessor

Number of cores per multiprocessor.

◆ device

int tinker::DeviceAttribute::device

Device number.

◆ ecc_string

std::string tinker::DeviceAttribute::ecc_string

on, or off.

◆ free_mem_bytes

size_t tinker::DeviceAttribute::free_mem_bytes

Free device memory in bytes.

◆ max_blocks_per_multiprocessor

int tinker::DeviceAttribute::max_blocks_per_multiprocessor

Maximum thread blocks per multiporcessor.

◆ max_shared_bytes_per_block

int tinker::DeviceAttribute::max_shared_bytes_per_block

Maximum shared memory per block in bytes.

◆ max_shared_bytes_per_multiprocessor

int tinker::DeviceAttribute::max_shared_bytes_per_multiprocessor

Maximum shared memory per mutiprocessor in bytes.

◆ max_threads_per_block

int tinker::DeviceAttribute::max_threads_per_block

Maximum threads per block.

◆ max_threads_per_multiprocessor

int tinker::DeviceAttribute::max_threads_per_multiprocessor

Maximum threads per multiprocessor.

◆ multiprocessor_count

int tinker::DeviceAttribute::multiprocessor_count

Multiprocessor count.

◆ name

std::string tinker::DeviceAttribute::name

Device name.

◆ pci_string

std::string tinker::DeviceAttribute::pci_string

PCI Bus ID.

◆ single_double_ratio

int tinker::DeviceAttribute::single_double_ratio

Single to double precision performance ratio.

◆ total_mem_bytes

size_t tinker::DeviceAttribute::total_mem_bytes

Total device memory in bytes.

Function Documentation

◆ gpuCudaDriverVersion()

std::string tinker::gpuCudaDriverVersion ( )
Returns
Max CUDA runtime version supported by the driver.

◆ gpuCudaRuntimeVersion()

std::string tinker::gpuCudaRuntimeVersion ( )
Returns
CUDA runtime version.

◆ gpuDeviceAttributes()

std::vector< DeviceAttribute > & tinker::gpuDeviceAttributes ( )
Returns
Attributes of all visible devices.

◆ gpuThrustVersion()

std::string tinker::gpuThrustVersion ( )
Returns
Version of the Thrust Library.

Variable Documentation

◆ ALL_LANES

constexpr unsigned tinker::ALL_LANES = 0xFFFFFFFF
constexpr

Mask for all of the lanes in a warp.

◆ BLOCK_DIM

constexpr unsigned tinker::BLOCK_DIM = 128
constexpr

Default dimension of thread blocks.

◆ PME_BLOCKDIM

constexpr int tinker::PME_BLOCKDIM = 64
constexpr

Dimension of the thread blocks for some PME kernels.

◆ WARP_SIZE

constexpr unsigned tinker::WARP_SIZE = 32
constexpr