-
Notifications
You must be signed in to change notification settings - Fork 117
[test] Adapt cuda checks to build systems #421
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
[test] Adapt cuda checks to build systems #421
Conversation
* Adapt cuda regression tests to build systems. * Change to new regression test syntax.
cscs-checks/cuda/cuda_checks.py
Outdated
| class CudaCheck(rfm.RegressionTest): | ||
| def __init__(self, name): | ||
| super().__init__() | ||
| self.name = 'cuda_%s_check' % name |
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 adapt the subclass names accordingly and don't pass name nor set it.
cscs-checks/cuda/cuda_checks.py
Outdated
|
|
||
|
|
||
| @rfm.simple_test | ||
| class MatrixmulCublasCheck(CudaCheck): |
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.
You can prefix all subclasses with Cuda, so as to get automatically the correct names.
|
@jenkins-cscs retry all |
Codecov Report
@@ Coverage Diff @@
## master #421 +/- ##
==========================================
+ Coverage 91.2% 91.22% +0.02%
==========================================
Files 70 70
Lines 8582 8582
==========================================
+ Hits 7827 7829 +2
+ Misses 755 753 -2
Continue to review full report at Codecov.
|
|
@jenkins-cscs retry dom |
Adapt cuda regression tests to build systems.
Change to new regression test syntax.
Closes #394