Fix AFQMC compilation with CUDA 12.x

This commit is contained in:
Ye Luo 2023-10-13 22:26:01 -05:00
parent d0d456e411
commit 805c2adc79
2 changed files with 10 additions and 10 deletions

View File

@ -15,16 +15,16 @@
#ifndef AFQMC_STRIDED_2DRANGE_KERNELS_HPP
#define AFQMC_STRIDED_2DRANGE_KERNELS_HPP
namespace kernels
{
/* Note: Taken from thrust examples.
*/
#include <thrust/iterator/counting_iterator.h>
#include <thrust/iterator/transform_iterator.h>
#include <thrust/iterator/permutation_iterator.h>
#include <thrust/functional.h>
namespace kernels
{
/* Note: Taken from thrust examples.
*/
template<typename Iterator>
class strided_2Drange
{

View File

@ -15,16 +15,16 @@
#ifndef AFQMC_STRIDED_RANGE_KERNELS_HPP
#define AFQMC_STRIDED_RANGE_KERNELS_HPP
namespace kernels
{
/* Note: Taken from thrust examples.
*/
#include <thrust/iterator/counting_iterator.h>
#include <thrust/iterator/transform_iterator.h>
#include <thrust/iterator/permutation_iterator.h>
#include <thrust/functional.h>
namespace kernels
{
/* Note: Taken from thrust examples.
*/
template<typename Iterator>
class strided_range
{