LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
CudartClose.cc File Reference

Calls cudaThreadExit from a destructor of a global object. More...

Go to the source code of this file.

Detailed Description

Calls cudaThreadExit from a destructor of a global object.

When using library libcudart.so (CUDA 3.2) from Python, it fails to properly close the library resulting in segmentation fault. This file is intended to solve that problem by automatically deinitializing the library just prior to exiting.

Author
Kresimir Cosic

Definition in file CudartClose.cc.