Struct CUDASimulation::Singletons
Defined in File CUDASimulation.h
Nested Relationships
This struct is a nested type of Class CUDASimulation.
Struct Documentation
-
struct Singletons
Struct containing references to the various singletons which may include CUDA code, and therefore can only be initialsed after the deferred arg parsing is completed.
Public Functions
Public Members
-
detail::RandomManager rng
Resizes device random array during step()
-
detail::CUDAScatter scatter
Held here for tracking when to release cuda memory
-
std::shared_ptr<detail::EnvironmentManager> environment
Held here for tracking when to release cuda memory
-
detail::DeviceStrings strings
Provides copies of strings (agent/state names) on device
-
detail::RandomManager rng