Skip to content

Commit

Permalink
dopt is only available since nvrtc 11.7 (#1915)
Browse files Browse the repository at this point in the history
Just --lineinfo should have the same effect
  • Loading branch information
naoyam authored Aug 17, 2022
1 parent 2ec8fc7 commit 5eefa9a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions torch/csrc/jit/codegen/cuda/executor_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1022,8 +1022,6 @@ std::pair<NvrtcFunction, std::string> nvrtcCompile(
// Add line info to generated kernels
if (isDebugDumpEnabled(DebugDumpOption::DebugInfo)) {
args.push_back("-lineinfo");
args.push_back("-G");
args.push_back("--dopt=on");
}
#ifdef NDEBUG
// Avoid excessive register usage from assertion
Expand Down

0 comments on commit 5eefa9a

Please sign in to comment.