mirror of https://github.com/QMCPACK/qmcpack.git
Fix AFQMC compilation with CUDA 12.x
This commit is contained in:
parent
d0d456e411
commit
805c2adc79
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue