shamanDevel / quick-mlp

Fused Multi-layer-perceptrons in CUDA
MIT License
16 stars 1 forks source link

Added function for early deletion of instance & new error code check #2

Closed chrismile closed 1 year ago

chrismile commented 1 year ago

This PR adds a new function for early deletion of the QuickMLP instance. This is necessary for programs managing their own CUDA context using the driver API, which will most likely no longer be valid at program termination when the global instance is deleted. Also, another CUDA error code is added that should not lead to program termination at startup.