From 057f86c1de80febeaccf66776a806ab3652de6a7 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Tue, 7 May 2024 18:42:50 +0000 Subject: [PATCH] 2 queues works ok in performance --- Grid/threads/Accelerator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Grid/threads/Accelerator.cc b/Grid/threads/Accelerator.cc index 19411b62..13466ca0 100644 --- a/Grid/threads/Accelerator.cc +++ b/Grid/threads/Accelerator.cc @@ -210,8 +210,8 @@ void acceleratorInit(void) cl::sycl::gpu_selector selector; cl::sycl::device selectedDevice { selector }; theGridAccelerator = new sycl::queue (selectedDevice); - // theCopyAccelerator = new sycl::queue (selectedDevice); - theCopyAccelerator = theGridAccelerator; // Should proceed concurrenlty anyway. + theCopyAccelerator = new sycl::queue (selectedDevice); + // theCopyAccelerator = theGridAccelerator; // Should proceed concurrenlty anyway. #ifdef GRID_SYCL_LEVEL_ZERO_IPC zeInit(0);