Skip to content

Commit

Permalink
nsys ver. required in error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
viclafargue committed Oct 31, 2022
1 parent e90b257 commit d05bde3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/cuml/benchmark/nvtx_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ def check_version():
year, month = full_version.split('.')[:2]
version = float(year + '.' + month)
if version < 2021.4:
raise Exception('The nsys utility needs to be updated')
raise Exception('This script requires nsys 2021.4 '
'or later versions of the tool.')

check_version()
profiler = Profiler()
Expand Down

0 comments on commit d05bde3

Please sign in to comment.