Skip to content

Commit 03d6f46

Browse files
committed
arch: Add -lineinfo with profiling=ncu
1 parent 2ef79c9 commit 03d6f46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

devito/arch/compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ def __init_finalize__(self, **kwargs):
769769
if not configuration['safe-math']:
770770
self.cflags.append('--use_fast_math')
771771

772-
if configuration['profiling'] == 'advanced2':
772+
if configuration['profiling'] in ('advanced2', 'ncu'):
773773
# Optionally print out per-kernel shared memory and register usage
774774
self.cflags.append('--ptxas-options=-v')
775775

0 commit comments

Comments
 (0)