Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
superlu
superlu-dont-opt-away.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File superlu-dont-opt-away.diff of Package superlu
Index: SuperLU_3.0/INSTALL/timertst.c =================================================================== --- SuperLU_3.0.orig/INSTALL/timertst.c +++ SuperLU_3.0/INSTALL/timertst.c @@ -5,8 +5,10 @@ void mysub(int n, double *x, double *y) { return; } +volatile double _dummy; + main() { /* Parameters */ #define NMAX 100 @@ -32,8 +34,9 @@ main() for (j = 0; j < iters; ++j) { for (i = 0; i < NMAX; ++i) y[i] += alpha * x[i]; alpha = -alpha; + _dummy = y[j%NMAX]; } t2 = SuperLU_timer_(); tnotim = t2 - t1; if ( tnotim > 0. ){
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor