Struct CUDASimulation::Singletons

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

inline explicit Singletons(const std::shared_ptr<EnvironmentManager> &environment)

Public Members

RandomManager rng

Resizes device random array during step()

CUDAScatter scatter

Held here for tracking when to release cuda memory

std::shared_ptr<EnvironmentManager> environment

Held here for tracking when to release cuda memory

exception::DeviceExceptionManager exception

Provides buffers for device error checking