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) 2016 Jeongnim Kim and QMCPACK developers.
6 //
7 // File developed by:
8 //    Lawrence Livermore National Laboratory
9 //
10 // File created by:
11 // Miguel A. Morales, moralessilva2@llnl.gov
12 //    Lawrence Livermore National Laboratory
13 ////////////////////////////////////////////////////////////////////////////////
14 
15 #ifndef AFQMC_INPLACE_CAST_KERNELS_HPP
16 #define AFQMC_INPLACE_CAST_KERNELS_HPP
17 
18 #include <cassert>
19 #include <complex>
20 
21 namespace kernels
22 {
23 void inplace_cast(unsigned long n, std::complex<float>* A, std::complex<double>* B);
24 void inplace_cast(unsigned long n, std::complex<double>* A, std::complex<float>* B);
25 void inplace_cast(long n, std::complex<float>* A, std::complex<double>* B);
26 void inplace_cast(long n, std::complex<double>* A, std::complex<float>* B);
27 
28 } // namespace kernels
29 
30 #endif
31