mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
2 queues works ok in performance
This commit is contained in:
parent
cd52e3cbc2
commit
057f86c1de
@ -210,8 +210,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);
|
||||||
|
Loading…
Reference in New Issue
Block a user