Skip to content

Commit

Permalink
Ignore cuCtxGetId APIs during profiling.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Apr 25, 2024
1 parent 7b69151 commit bac215b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/profile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ function Base.show(io::IO, results::ProfileResults)
# filter spammy API calls
filter(results.host) do row
!in(row.name, [# context and stream queries we use for nonblocking sync
"cuCtxGetCurrent", "cuStreamQuery",
"cuCtxGetCurrent", "cuCtxGetId", "cuStreamQuery",
# occupancy API, done before every kernel launch
"cuOccupancyMaxPotentialBlockSize",
# driver pointer set-up
Expand Down

0 comments on commit bac215b

Please sign in to comment.