Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
Stokhos::DeviceProp Class Reference

#include <Stokhos_Cuda_DeviceProp.hpp>

Public Types

typedef Kokkos::Cuda::size_type size_type
 

Public Member Functions

 DeviceProp (int device_id=-1)
 
template<typename Kernel >
size_type get_kernel_registers (Kernel kernel)
 
template<typename Kernel >
size_type get_resident_warps_per_sm (Kernel kernel)
 

Public Attributes

size_type compute_capability_major
 
size_type compute_capability_minor
 
size_type shared_memory_capacity
 
size_type shared_memory_granularity
 
size_type max_shmem_per_block
 
size_type max_threads_per_block
 
size_type max_threads_per_sm
 
size_type max_blocks_per_sm
 
size_type max_warps_per_sm
 
size_type warp_size
 
size_type warp_granularity
 
size_type max_regs_per_sm
 
size_type max_regs_per_block
 
size_type reg_bank_size
 
bool has_shuffle
 
bool has_ldg
 

Detailed Description

Definition at line 22 of file Stokhos_Cuda_DeviceProp.hpp.

Member Typedef Documentation

typedef Kokkos::Cuda::size_type Stokhos::DeviceProp::size_type

Definition at line 25 of file Stokhos_Cuda_DeviceProp.hpp.

Constructor & Destructor Documentation

Stokhos::DeviceProp::DeviceProp ( int  device_id = -1)
inline

Definition at line 46 of file Stokhos_Cuda_DeviceProp.hpp.

Member Function Documentation

template<typename Kernel >
size_type Stokhos::DeviceProp::get_kernel_registers ( Kernel  kernel)
inline

Definition at line 203 of file Stokhos_Cuda_DeviceProp.hpp.

template<typename Kernel >
size_type Stokhos::DeviceProp::get_resident_warps_per_sm ( Kernel  kernel)
inline

Definition at line 218 of file Stokhos_Cuda_DeviceProp.hpp.

Member Data Documentation

size_type Stokhos::DeviceProp::compute_capability_major

Definition at line 27 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::compute_capability_minor

Definition at line 28 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::shared_memory_capacity

Definition at line 30 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::shared_memory_granularity

Definition at line 31 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::max_shmem_per_block

Definition at line 32 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::max_threads_per_block

Definition at line 33 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::max_threads_per_sm

Definition at line 34 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::max_blocks_per_sm

Definition at line 35 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::max_warps_per_sm

Definition at line 36 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::warp_size

Definition at line 37 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::warp_granularity

Definition at line 38 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::max_regs_per_sm

Definition at line 39 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::max_regs_per_block

Definition at line 40 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::reg_bank_size

Definition at line 41 of file Stokhos_Cuda_DeviceProp.hpp.

bool Stokhos::DeviceProp::has_shuffle

Definition at line 43 of file Stokhos_Cuda_DeviceProp.hpp.

bool Stokhos::DeviceProp::has_ldg

Definition at line 44 of file Stokhos_Cuda_DeviceProp.hpp.


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