From 6989f564fb85133fc49ae2d369e600bc0a399e6c Mon Sep 17 00:00:00 2001 From: mbeltagy Date: Mon, 12 Sep 2022 10:27:23 +0200 Subject: [PATCH] Add --openacc-profiling off to nvprof invocation in the documentation. (#1587) [skip tests] --- docs/src/tutorials/introduction.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/tutorials/introduction.jl b/docs/src/tutorials/introduction.jl index 8c14607811..eb41c0e639 100644 --- a/docs/src/tutorials/introduction.jl +++ b/docs/src/tutorials/introduction.jl @@ -219,7 +219,7 @@ end # On Unix systems, launch Julia this way: # # ```sh -# $ nvprof --profile-from-start off /path/to/julia +# $ nvprof --profile-from-start off -openacc-profiling off /path/to/julia # ``` # # replacing the `/path/to/julia` with the path to your Julia binary. Note that we don't @@ -254,7 +254,7 @@ CUDA.@profile bench_gpu1!(y_d, x_d) # (including a call to `CUDA.@profile`): # # ```sh -# $ nvprof --profile-from-start off --print-gpu-trace /path/to/julia /path/to/script.jl +# $ nvprof --profile-from-start off --openacc-profiling off --print-gpu-trace /path/to/julia /path/to/script.jl # Start Duration Grid Size Block Size Regs* SSMem* DSMem* Device Context Stream Name # 13.3134s 245.04ms (1 1 1) (1 1 1) 20 0B 0B GeForce GTX TIT 1 7 ptxcall_gpu_add1__1 [34] # ```