Skip to content

Commit

Permalink
Merge pull request #772 from jgphpc/MAINT-19
Browse files Browse the repository at this point in the history
[test] Fix ddt+cuda/10.0 check
  • Loading branch information
Vasileios Karakasis committed May 6, 2019
2 parents 1562f98 + 03f7735 commit aca387d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cscs-checks/tools/profiling_and_debugging/ddt.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ def setup(self, partition, environ, **job_opts):
self.ddt_options)


@rfm.required_version('>=2.14')
@rfm.parameterized_test(['F90', 'F90'], ['C', 'c'], ['C++', 'cc'])
@rfm.parameterized_test(['F90', 'F90'], ['C++', 'cc'])
class DdtCpuCheck(DdtCheck):
def __init__(self, lang, extension):
super().__init__(lang, extension)
Expand Down Expand Up @@ -121,6 +120,7 @@ def __init__(self, lang, extension):
self.build_system.ldflags = ['-lm', '-lcudart']
else:
arch = 'sm_60'
self.build_system.ldflags = ['-lstdc++']

self.build_system.options = ['NVCCFLAGS="-g -arch=%s"' % arch]
self.sanity_patterns = sn.all([
Expand Down

0 comments on commit aca387d

Please sign in to comment.