1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-09 23:45:36 +00:00

Asynch handling

This commit is contained in:
Peter Boyle 2023-10-13 17:57:20 +03:00
parent e936f5b80b
commit 9626a2c7c0

View File

@ -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);