-
Notifications
You must be signed in to change notification settings - Fork 117
Add regression tests for GPU direct. #150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@ajocksch I am changing the title of this PR, because the major contribution are the GPU direct tests, which is cool! |
victorusu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
cscs-checks/prgenv/openacc_checks.py
Outdated
| def __init__(self, **kwargs): | ||
| super().__init__('openacc_fortran_check', | ||
| def __init__(self, num_tasks, **kwargs): | ||
| if (num_tasks == 1): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove parentheses here.
cscs-checks/prgenv/openacc_checks.py
Outdated
| self._pgi_flags = '-acc -ta=tesla:cc35' | ||
|
|
||
| self.num_tasks = num_tasks | ||
| if (self.num_tasks == 1): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove parentheses here.
| import os | ||
|
|
||
| from reframe.core.pipeline import RegressionTest | ||
| import reframe.utility.sanity as sn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please swap these two statements.
| import os | ||
|
|
||
| from reframe.core.pipeline import RegressionTest | ||
| import reframe.utility.sanity as sn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please swap these two statements.
| import reframe.utility.sanity as sn | ||
| from reframe.core.pipeline import RegressionTest | ||
|
|
||
| import reframe.utility.sanity as sn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The imports must be as follows:
import os
import reframe.utility.sanity as sn
from reframe.core.pipeline import RegressionTest| from reframe.core.pipeline import RegressionTest | ||
| import reframe.utility.sanity as sn | ||
|
|
||
| class GpuDirectCudaCheck(RegressionTest): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this test should go under cuda/.
|
@ajocksch Do you think you can manage this for this sprint? |
|
@ajocksch The |
|
@jenkins-cscs retry dom |
PrgEnv-pgion Kesch.Fixes #86.