mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Fix to GPU compile attempt
This commit is contained in:
parent
fe6e8f5ac6
commit
6209120de9
@ -73,7 +73,7 @@ public:
|
||||
auto vp0= &mm.vpointers[0][0];
|
||||
auto vp1= &mm.vpointers[1][0];
|
||||
auto type= mm.type;
|
||||
accelerator_forNB(o,mm.buffer_size/2,vobj::Nsimd(),{
|
||||
accelerator_forNB(o,mm.buffer_size/2,Merger::Nsimd(),{
|
||||
decompress.Exchange(mp[2*o],mp[2*o+1],vp0[o],vp1[o],type);
|
||||
});
|
||||
}
|
||||
|
@ -245,6 +245,7 @@ public:
|
||||
Integer rbytes;
|
||||
};
|
||||
struct Merge {
|
||||
static constexpr int Nsimd = vobj::Nsimd();
|
||||
cobj * mpointer;
|
||||
Vector<scalar_object *> rpointers;
|
||||
Vector<cobj *> vpointers;
|
||||
@ -254,6 +255,7 @@ public:
|
||||
Coordinate dims;
|
||||
};
|
||||
struct Decompress {
|
||||
static constexpr int Nsimd = vobj::Nsimd();
|
||||
cobj * kernel_p;
|
||||
cobj * mpi_p;
|
||||
Integer buffer_size;
|
||||
|
Loading…
Reference in New Issue
Block a user