DiFfRG
Loading...
Searching...
No Matches
integrator_2Dpx0_gpu.hh File Reference
#include <future>
#include <rmm/cuda_stream_pool.hpp>
#include <rmm/device_uvector.hpp>
#include <rmm/mr/device/pool_memory_resource.hpp>
#include <thrust/reduce.h>
#include <DiFfRG/common/cuda_prefix.hh>
#include <DiFfRG/common/quadrature/quadrature_provider.hh>

Go to the source code of this file.

Classes

class  DiFfRG::Integrator2Dpx0GPU< NT, KERNEL >
 Integrator for 2+1D integrals over p, x0 and an angle using the GPU. Calculates. More...
 

Namespaces

namespace  DiFfRG
 

Functions

template<typename ctype , typename NT , typename KERNEL , typename... T>
__global__ void DiFfRG::gridreduce_2dpx0 (NT *dest, const ctype *x_quadrature_p, const ctype *x_quadrature_w, const ctype *ang_quadrature_p, const ctype *ang_quadrature_w, const ctype *x0_quadrature_p, const ctype *x0_quadrature_w, const ctype x_extent, const ctype x0_extent, const ctype k, T... t)
 GPU kernel for the integration of a function dependent on p, an angle cos1 and q0.