Skip to content

Commit

Permalink
Add --openacc-profiling off to nvprof invocation in the documentation. (
Browse files Browse the repository at this point in the history
#1587)

[skip tests]
  • Loading branch information
mbeltagy authored and maleadt committed Jan 6, 2023
1 parent 5907613 commit 6989f56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/tutorials/introduction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
# ```
Expand Down

0 comments on commit 6989f56

Please sign in to comment.