LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
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.