Skip to content

Commit

Permalink
arch: Hardcoded setup for CI-gpu test with sm_86
Browse files Browse the repository at this point in the history
  • Loading branch information
Leitevmd committed Mar 18, 2021
1 parent 962e682 commit f9887bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devito/arch/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def __init__(self, *args, **kwargs):
# Add flags for OpenMP offloading
if language in ['C', 'openmp']:
# TODO: Need a generic -march setup
# self.cflags += ['-Xopenmp-target', '-march=sm_37']
self.cflags += ['-Xopenmp-target', '-march=sm_86']
self.ldflags += ['-fopenmp', '-fopenmp-targets=nvptx64-nvidia-cuda']
elif platform is AMDGPUX:
self.cflags.remove('-std=c99')
Expand Down

0 comments on commit f9887bd

Please sign in to comment.