Skip to content

Commit

Permalink
Add environment variable to make nvcc compilation more verbose (#2759)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmikeh2 authored Jan 28, 2023
1 parent cc3d7cb commit 258d283
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions op_builder/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,8 @@ def nvcc_args(self):
'-U__CUDA_NO_HALF_CONVERSIONS__',
'-U__CUDA_NO_HALF2_OPERATORS__'
]
if os.environ.get('DS_DEBUG_CUDA_BUILD', '0') == '1':
args.append('--ptxas-options=-v')
args += self.compute_capability_args()
return args

Expand Down

0 comments on commit 258d283

Please sign in to comment.