QMCPACK
CUDADeviceManager.h
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) 2021 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 
13 
14 #ifndef QMCPLUSPLUS_CUDADEVICEMANAGER_H
15 #define QMCPLUSPLUS_CUDADEVICEMANAGER_H
16 
17 namespace qmcplusplus
18 {
19 
20 /** CUDA device manager
21  */
23 {
26 
27 public:
28  CUDADeviceManager(int& default_device_num, int& num_devices, int local_rank, int local_size);
29 };
30 } // namespace qmcplusplus
31 
32 #endif
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
CUDADeviceManager(int &default_device_num, int &num_devices, int local_rank, int local_size)