mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-05 15:38:05 +01:00
Asynch handling
This commit is contained in:
1 parent
e936f5b80b
commit
9626a2c7c0
1 file changed
+7
@@ -575,4 +575,11 @@ accelerator_inline void acceleratorFence(void)
|
||||
return;
|
||||
}
|
||||
|
||||
inline void acceleratorCopyDeviceToDevice(void *from,void *to,size_t bytes)
|
||||
{
|
||||
acceleratorCopyDeviceToDeviceAsynch(from,to,bytes);
|
||||
acceleratorCopySynchronise();
|
||||
}
|
||||
|
||||
|
||||
NAMESPACE_END(Grid);
|
||||
Reference in new issue
Block a user