1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-01-01 18:29:29 +00:00

Device 2 Device with cudaMemcpy

This commit is contained in:
Peter Boyle
2021-09-21 01:03:07 +02:00
parent 894654f7ef
commit 1fb6aaf150
2 changed files with 15 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ void acceleratorThreads(uint32_t t) {accelerator_threads = t;};
#ifdef GRID_CUDA
cudaDeviceProp *gpu_props;
cudaStream_t copyStream;
void acceleratorInit(void)
{
int nDevices = 1;