Skip to content

Commit

Permalink
Merge pull request QMCPACK#4776 from ye-luo/fix-afqmc-cuda
Browse files Browse the repository at this point in the history
Fix AFQMC compilation with CUDA 12.x
  • Loading branch information
ye-luo authored Oct 16, 2023
2 parents d0d456e + 805c2ad commit 7b92985
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 7b92985

Please sign in to comment.