Class DeviceExceptionManager

Class Documentation

class flamegpu::exception::DeviceExceptionManager

Host ‘singleton’, owned 1 per CUDASimulation, provides facility for generating and checking DeviceExceptionBuffers

Public Functions

DeviceExceptionManager()
~DeviceExceptionManager()

Free all device memory

DeviceExceptionBuffer *getDevicePtr(const unsigned int &streamId, const cudaStream_t &stream)
void checkError(const std::string &function, const unsigned int &streamId, const cudaStream_t &stream)