Skip to content

Commit 1cf4a4e

Browse files
author
Pierre-Andre Saulais
committed
[CUDA] Remove unused function variant
1 parent 4d395a3 commit 1cf4a4e

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

source/adapters/cuda/tracing.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -179,17 +179,6 @@ void unloadCUDATracingLibrary(cuda_tracing_context_t_ *Ctx) {
179179
#endif // XPTI_ENABLE_INSTRUMENTATION
180180
}
181181

182-
void enableCUDATracing() {
183-
#ifdef XPTI_ENABLE_INSTRUMENTATION
184-
if (!xptiTraceEnabled())
185-
return;
186-
static cuda_tracing_context_t_ *Ctx = nullptr;
187-
if (!Ctx)
188-
Ctx = createCUDATracingContext();
189-
enableCUDATracing(Ctx);
190-
#endif
191-
}
192-
193182
void enableCUDATracing(cuda_tracing_context_t_ *Ctx) {
194183
#ifdef XPTI_ENABLE_INSTRUMENTATION
195184
if (!Ctx || !xptiTraceEnabled())

source/adapters/cuda/tracing.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,3 @@ void unloadCUDATracingLibrary(cuda_tracing_context_t_ *Ctx);
1818

1919
void enableCUDATracing(cuda_tracing_context_t_ *Ctx);
2020
void disableCUDATracing(cuda_tracing_context_t_ *Ctx);
21-
22-
// Deprecated. Will be removed once pi_cuda has been updated to use the variant
23-
// that takes a context pointer.
24-
void enableCUDATracing();

0 commit comments

Comments
 (0)