1 ///////////////////////////////////////////////////////////////////////////////
2 // This file is distributed under the University of Illinois/NCSA Open Source
3 // License.  See LICENSE file in top directory for details.
4 //
5 // Copyright (c) 2020 QMCPACK developers.
6 //
7 // File developed by: Fionn Malone, malone14@llnl.gov, LLNL
8 //
9 // File created by: Fionn Malone, malone14@llnl.gov, LLNL
10 ////////////////////////////////////////////////////////////////////////////////
11 
12 #ifndef AFQMC_HIP_KERNEL_UTILITIES_HPP
13 #define AFQMC_HIP_KERNEL_UTILITIES_HPP
14 
15 #include <cassert>
16 #include <hip/hip_runtime.h>
17 
18 #include "hip_kernel_utils.h"
19 #include "rocrand/rocrand.h"
20 
21 namespace qmc_hip
22 {
23 void hip_kernel_check(hipError_t sucess, std::string message = "");
24 void rocrand_check(rocrand_status sucess, std::string message = "");
25 } // namespace qmc_hip
26 
27 #endif
28