Struct CUDASimulation::Singletons

Nested Relationships

This struct is a nested type of Class CUDASimulation.

Struct Documentation

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

Public Members

detail::curve::Curve &curve

Curve instance used for variable mapping

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

exception::DeviceExceptionManager exception

Provides buffers for device error checking