Struct CUDASimulation::Singletons

Nested Relationships

This struct is a nested type of Class CUDASimulation.

Struct Documentation

struct CUDASimulation::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 Singletons(Curve &curve, EnvironmentManager &environment)

Public Members

Curve &curve

Curve instance used for variable mapping

Todo:

Is this necessary? CUDAAgent/CUDAMessage have their own copy

RandomManager rng

Resizes device random array during step()

CUDAScatter scatter

Held here for tracking when to release cuda memory

EnvironmentManager &environment

Held here for tracking when to release cuda memory

DeviceExceptionManager exception

Provides buffers for device error checking