File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ LazyArtifacts = "1"
70
70
Libdl = " 1"
71
71
LinearAlgebra = " 1"
72
72
Logging = " 1"
73
- NVTX = " 0.3.2 "
73
+ NVTX = " 1 "
74
74
Preferences = " 1"
75
75
PrettyTables = " 2"
76
76
Printf = " 1"
Original file line number Diff line number Diff line change @@ -160,8 +160,7 @@ function __init__()
160
160
end
161
161
162
162
# if we're not running under an external profiler, let CUPTI handle NVTX events
163
- # XXX : JuliaGPU/NVTX.jl#37
164
- if ! NVTX. isactive () && ! Sys. iswindows ()
163
+ if ! NVTX. isactive ()
165
164
ENV [" NVTX_INJECTION64_PATH" ] = CUDA_Runtime. libcupti
166
165
NVTX. activate ()
167
166
end
@@ -218,7 +217,7 @@ function __init__()
218
217
if any (rtlib -> contains (lib, rtlib), runtime_libraries)
219
218
@warn """ CUDA runtime library `$(basename (lib)) ` was loaded from a system path, `$lib `.
220
219
This may cause errors.
221
-
220
+
222
221
If you're running under a profiler, this situation is expected. Otherwise,
223
222
ensure that your library path environment variable (e.g., `PATH` on Windows
224
223
or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
Original file line number Diff line number Diff line change 74
74
@test occursin (" cuCtxGetCurrent" , str)
75
75
end
76
76
77
- # JuliaGPU/NVTX.jl#37
78
- if ! Sys. iswindows ()
79
-
80
77
# NVTX markers
81
78
let
82
79
str = string (CUDA. @profile trace= true NVTX. @mark " a marker" )
91
88
@test occursin (" a range" , str)
92
89
end
93
90
94
- end
95
-
96
91
end
97
92
end
98
93
You can’t perform that action at this time.
0 commit comments