-
Notifications
You must be signed in to change notification settings - Fork 117
[test] Adapt stream microbenchmark test to build systems #420
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 stream microbenchmark test to build systems #420
Conversation
* Adapt the stream microbenchmark regression test to use build systems. * Use the new regression test syntax.
| self.current_environ.variables['OMP_NUM_THREADS'] = \ | ||
| str(self.num_cpus_per_task) | ||
| self.current_environ.variables['OMP_NUM_THREADS'] = str( | ||
| self.num_cpus_per_task) |
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 don't like setting the variables attribute of the current environment directly. Besides, I don't think that they will be loaded. You should set self.variables instead and call super().setup(...) later.
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.
Same applies for the OMP_PROC_BIND.
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.
Everything fits in a single line here.
| self.current_environ.variables['OMP_NUM_THREADS'] = \ | ||
| str(self.num_cpus_per_task) | ||
| self.current_environ.variables['OMP_NUM_THREADS'] = str( | ||
| self.num_cpus_per_task) |
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.
Everything fits in a single line here.
|
@teojgo The failure on Kesch is expected. I will merge this one. |
|
@jenkins-cscs retry daint dom |
Adapt the stream microbenchmark regression test to
use build systems.
Use the new regression test syntax.
Closes #391