1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Copy queue and compute queue same as better concurrency

This commit is contained in:
Peter Boyle 2023-04-11 12:18:21 -07:00
parent d1dea5f840
commit b4f2ca81ff

View File

@ -208,8 +208,8 @@ void acceleratorInit(void)
cl::sycl::gpu_selector selector; cl::sycl::gpu_selector selector;
cl::sycl::device selectedDevice { selector }; cl::sycl::device selectedDevice { selector };
theGridAccelerator = new sycl::queue (selectedDevice); theGridAccelerator = new sycl::queue (selectedDevice);
theCopyAccelerator = new sycl::queue (selectedDevice); // theCopyAccelerator = new sycl::queue (selectedDevice);
//theCopyAccelerator = theGridAccelerator; // Should proceed concurrenlty anyway. theCopyAccelerator = theGridAccelerator; // Should proceed concurrenlty anyway.
#ifdef GRID_SYCL_LEVEL_ZERO_IPC #ifdef GRID_SYCL_LEVEL_ZERO_IPC
zeInit(0); zeInit(0);