Celeritas  0.5.0-56+6b053cd
Public Attributes | List of all members
celeritas::KernelAttributes Struct Reference

Immutable attributes of a kernel function. More...

#include <KernelAttributes.hh>

Public Attributes

unsigned int threads_per_block {0}
 
int num_regs {0}
 Number of 32-bit registers per thread.
 
std::size_t const_mem {0}
 Amount of constant memory (per thread) [b].
 
std::size_t local_mem {0}
 Amount of local memory (per thread) [b].
 
unsigned int max_threads_per_block {0}
 Max allowed threads per block.
 
unsigned int max_blocks_per_cu {0}
 Occupancy (compute unit)
 
unsigned int max_warps_per_eu {0}
 Occupancy (execution unit)
 
double occupancy {0}
 Fractional occupancy (CU)
 
std::size_t stack_size {0}
 CUDA Dynamic per-thread stack limit [b].
 
std::size_t heap_size {0}
 Dynamic malloc heap size [b].
 
std::size_t print_buffer_size {0}
 FIFO buffer size for printf [b].
 

Detailed Description

Immutable attributes of a kernel function.

This is an analog to cudaFuncAttributes with some additional helpful information. Some quantities are device-specific.


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