QMCPACK
SYCLruntime.hpp
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////////////////////////////////
2 // This file is distributed under the University of Illinois/NCSA Open Source License.
3 // See LICENSE file in top directory for details.
4 //
5 // Copyright (c) 2022 QMCPACK developers.
6 //
7 // File developed by: Ye Luo, yeluo@anl.gov, Argonne National Laboratory
8 //
9 // File created by: Ye Luo, yeluo@anl.gov, Argonne National Laboratory
10 //////////////////////////////////////////////////////////////////////////////////////
11 
12 #ifndef QMCPLUSPLUS_SYCL_RUNTIME_H
13 #define QMCPLUSPLUS_SYCL_RUNTIME_H
14 
15 #include <sycl/sycl.hpp>
16 
17 namespace qmcplusplus
18 {
19 /// return a reference to the per-device default queue
21 /// create an in-order queue using the default device
23 /// create a out-of-order queue using the default device
25 /// query free memory on the default device
26 size_t getSYCLdeviceFreeMem();
27 
28 } // namespace qmcplusplus
29 
30 #endif
sycl::queue createSYCLInOrderQueueOnDefaultDevice()
create an in-order queue using the default device
Definition: SYCLruntime.cpp:20
sycl::queue & getSYCLDefaultDeviceDefaultQueue()
return a reference to the per-device default queue
Definition: SYCLruntime.cpp:18
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
sycl::queue createSYCLQueueOnDefaultDevice()
create a out-of-order queue using the default device
Definition: SYCLruntime.cpp:26
size_t getSYCLdeviceFreeMem()
query free memory on the default device
Definition: SYCLruntime.cpp:31