Driver: now ignore CUDA_ERROR_DEINITIALIZED in the destructor of CUDA C++ object.

This should be harmless. ISAAC deinitializes CUDA at the very end, but external libraries may deinitialize it beforehands.
This commit is contained in:
Philippe Tillet
2015-11-27 02:09:15 -05:00
parent c0b9bbee43
commit dfbe52c20a
6 changed files with 16 additions and 13 deletions

View File

@@ -30,8 +30,7 @@ extern "C"
cublasStatus_t cublasDestroy_v2 (cublasHandle_t handle)
{
delete handle;
cublasShutdown();
return CUBLAS_STATUS_SUCCESS;
return cublasShutdown();
}
cublasStatus cublasInit()