Celeritas 0.6.0-dev.115+3b60a5fd
Loading...
Searching...
No Matches
Public Attributes | List of all members
celeritas::inp::Device Struct Reference

Set up GPU capabilities and debugging options. More...

#include <System.hh>

Public Attributes

size_type stack_size {}
 Per-thread CUDA stack size (ignored if zero) [B].
 
size_type heap_size {}
 Global dynamic CUDA heap size (ignored if zero) [B].
 

Detailed Description

Set up GPU capabilities and debugging options.

Stream sharing and synchronization might be helpful for debugging potential race conditions or improving timing accuracy (at the cost of reducing performance).

The CUDA heap and stack sizes may be needed for VecGeom, which has dynamic resource requirements.

Todo:
Move the CELER_DEVICE_ASYNC environment variable here

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