15 #ifndef QMCPLUSPLUS_SYCLDEVICEMANAGER_H 16 #define QMCPLUSPLUS_SYCLDEVICEMANAGER_H 20 #include <sycl/sycl.hpp> 22 #if defined(ENABLE_OFFLOAD) 31 #if defined(ENABLE_OFFLOAD) 32 syclDeviceInfo(
const sycl::context& context,
const sycl::device& device,
const omp_interop_t& interop);
34 syclDeviceInfo(
const sycl::context& context,
const sycl::device& device);
43 #if defined(ENABLE_OFFLOAD) 44 omp_interop_t interop_;
59 SYCLDeviceManager(
int& default_device_num,
int& num_devices,
int local_rank,
int local_size);
static std::unique_ptr< sycl::queue > default_device_queue
the global singleton which can be used to access the default queue of the default device...
helper functions for EinsplineSetBuilder
const sycl::context & get_context() const
const sycl::device & get_device() const
SYCLDeviceManager(int &default_device_num, int &num_devices, int local_rank, int local_size)
int sycl_default_device_num
std::vector< syclDeviceInfo > visible_devices
syclDeviceInfo(const sycl::context &context, const sycl::device &device)
static sycl::queue & getDefaultDeviceDefaultQueue()
access the the DeviceManager owned default queue.