Skip to content

Conversation

@teojgo
Copy link
Contributor

@teojgo teojgo commented Aug 4, 2018

  • Adapt dgemm test to use the build systems future.

  • Adapt dgemm to the new syntax.

Fixes #383

* Adapt dgemm test to use the build systems future.

* Adapt dgemm to the new syntax.
@codecov-io
Copy link

codecov-io commented Aug 4, 2018

Codecov Report

Merging #418 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #418   +/-   ##
======================================
  Coverage    91.2%   91.2%           
======================================
  Files          70      70           
  Lines        8582    8582           
======================================
  Hits         7827    7827           
  Misses        755     755

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1361c25...d7a08d3. Read the comment docs.

def __init__(self):
self.cflags = ['-O3', '-I$EBROOTOPENBLAS/include']
self.ldflags = ['-L$EBROOTOPENBLAS/lib', '-lopenblas', '-lpthread',
'-lgfortran']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't you set directly the corresponding flags from the build system?

self.ldflags = None
self.build_system = 'SingleSource'
self.build_system.cflags = self.cflags
self.build_system.ldflags = self.ldflags
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like this design. The subclasses should set directly the flags the need.

@vkarak vkarak merged commit f4d2337 into reframe-hpc:master Aug 12, 2018
@teojgo teojgo deleted the regression_test/dgemm_buildsystems branch September 6, 2018 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants