1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-14 13:57:07 +01:00

SYCLL maknig happy - must avoid non ttrivial copy constructors

This commit is contained in:
Peter Boyle
2020-05-25 08:34:19 -07:00
parent cb0d1b3399
commit 7bc0166c1c
2 changed files with 13 additions and 4 deletions

View File

@ -217,8 +217,8 @@ public:
}
template<class sobj> inline Lattice<vobj> & operator = (const sobj & r){
auto me = View(AcceleratorWriteDiscard);
accelerator_for(ss,me.size(),1,{
auto me = View(CpuWrite);
thread_for(ss,me.size(),{
me[ss]= r;
});
return *this;