Skip to content

Commit

Permalink
Remove delete line
Browse files Browse the repository at this point in the history
  • Loading branch information
hdelan committed Dec 11, 2023
1 parent 9669252 commit 396cd30
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/blas/backends/cublas/cublas_scope_handle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ CublasScopedContextHandler::~CublasScopedContextHandler() noexcept(false) {
CUresult err;
CUDA_ERROR_FUNC(cuCtxSetCurrent, err, original_);
}
delete placedContext_;
}

void ContextCallback(void *userData) {
Expand Down
1 change: 0 additions & 1 deletion src/blas/backends/rocblas/rocblas_scope_handle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ RocblasScopedContextHandler::~RocblasScopedContextHandler() noexcept(false) {
hipError_t err;
HIP_ERROR_FUNC(hipCtxSetCurrent, err, original_);
}
delete placedContext_;
}

void ContextCallback(void *userData) {
Expand Down
1 change: 0 additions & 1 deletion src/lapack/backends/cusolver/cusolver_scope_handle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ CusolverScopedContextHandler::~CusolverScopedContextHandler() noexcept(false) {
CUresult err;
CUDA_ERROR_FUNC(cuCtxSetCurrent, err, original_);
}
delete placedContext_;
}

void ContextCallback(void *userData) {
Expand Down
1 change: 0 additions & 1 deletion src/lapack/backends/rocsolver/rocsolver_scope_handle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ RocsolverScopedContextHandler::~RocsolverScopedContextHandler() noexcept(false)
hipError_t err;
HIP_ERROR_FUNC(hipCtxSetCurrent, err, original_);
}
delete placedContext_;
}

void ContextCallback(void *userData) {
Expand Down

0 comments on commit 396cd30

Please sign in to comment.