1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Accelerator loop

This commit is contained in:
Peter Boyle 2019-07-01 07:29:51 +01:00
parent 532e226b22
commit 7b7c470917

View File

@ -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],