Skip to content

Commit

Permalink
Fix AFQMC compilation with CUDA 12.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ye-luo committed Oct 16, 2023
1 parent d0d456e commit 805c2ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/AFQMC/Numerics/detail/CUDA/Kernels/strided_2Drange.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
10 changes: 5 additions & 5 deletions src/AFQMC/Numerics/detail/CUDA/Kernels/strided_range.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 805c2ad

Please sign in to comment.