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:
@ -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;
|
||||
|
Reference in New Issue
Block a user