mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
threaded rng init; I thought this was on
This commit is contained in:
parent
6fe9b28a82
commit
cb0d2a1b03
@ -347,8 +347,7 @@ public:
|
||||
int words = sizeof(scalar_object) / sizeof(scalar_type);
|
||||
|
||||
auto l_v = l.View();
|
||||
// thread_loop( (int ss=0;ss<osites;ss++), {
|
||||
for (int ss=0;ss<osites;ss++) {
|
||||
thread_loop( (int ss=0;ss<osites;ss++), {
|
||||
ExtractBuffer<scalar_object> buf(Nsimd);
|
||||
for (int m = 0; m < multiplicity; m++) { // Draw from same generator multiplicity times
|
||||
|
||||
@ -365,7 +364,7 @@ public:
|
||||
// merge into SIMD lanes, FIXME suboptimal implementation
|
||||
merge(l_v[sm], buf);
|
||||
}
|
||||
}
|
||||
});
|
||||
// });
|
||||
|
||||
_time_counter += usecond()- inner_time_counter;
|
||||
|
Loading…
Reference in New Issue
Block a user