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 54 of file Stokhos_Cuda_DeviceProp.hpp.

Member Typedef Documentation

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

Definition at line 57 of file Stokhos_Cuda_DeviceProp.hpp.

Constructor & Destructor Documentation

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

Definition at line 78 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 235 of file Stokhos_Cuda_DeviceProp.hpp.

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

Definition at line 250 of file Stokhos_Cuda_DeviceProp.hpp.

Member Data Documentation

size_type Stokhos::DeviceProp::compute_capability_major

Definition at line 59 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::compute_capability_minor

Definition at line 60 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::shared_memory_capacity

Definition at line 62 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::shared_memory_granularity

Definition at line 63 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::max_shmem_per_block

Definition at line 64 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::max_threads_per_block

Definition at line 65 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::max_threads_per_sm

Definition at line 66 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::max_blocks_per_sm

Definition at line 67 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::max_warps_per_sm

Definition at line 68 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::warp_size

Definition at line 69 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::warp_granularity

Definition at line 70 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::max_regs_per_sm

Definition at line 71 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::max_regs_per_block

Definition at line 72 of file Stokhos_Cuda_DeviceProp.hpp.

size_type Stokhos::DeviceProp::reg_bank_size

Definition at line 73 of file Stokhos_Cuda_DeviceProp.hpp.

bool Stokhos::DeviceProp::has_shuffle

Definition at line 75 of file Stokhos_Cuda_DeviceProp.hpp.

bool Stokhos::DeviceProp::has_ldg

Definition at line 76 of file Stokhos_Cuda_DeviceProp.hpp.


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