mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Accelerator loop
This commit is contained in:
parent
532e226b22
commit
7b7c470917
@ -95,7 +95,7 @@ void Gather_plane_exchange_table(Vector<std::pair<int,int> >& table,const Lattic
|
||||
int so = plane*rhs.Grid()->_ostride[dimension]; // base offset for start of plane
|
||||
|
||||
auto rhs_v = rhs.View();
|
||||
thread_for(j, num, {
|
||||
accelerator_for(j, num, 1, {
|
||||
compress.CompressExchange(&pointers[0][0],
|
||||
&pointers[1][0],
|
||||
&rhs_v[0],
|
||||
|
Loading…
Reference in New Issue
Block a user