-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Remove CudaContextManager class and use cudaSetDevice
Prevent the destruction of the Cuda context during use (e.g. cupy package) CHANGES: * Remove CudaContextManager class * Replace cuCtxSetCurrent() by cudaSetDevice() to create the primary context introduced by Cuda 7 * Add m_Device in CudaDataManager constructor * Update CMakeLists.txt
- Loading branch information
LAURENDEAU Matthieu
committed
Feb 12, 2024
1 parent
9d3fe9b
commit 3c1b5bc
Showing
6 changed files
with
9 additions
and
199 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
set(CudaCommon_SRCS | ||
itkCudaContextManager.cxx | ||
itkCudaDataManager.cxx | ||
itkCudaUtil.cxx | ||
itkCudaMemoryProbe.cxx | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters