DiFfRG
Loading...
Searching...
No Matches
integrator_2D_cartesian_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::Integrator2DCartesianGPU< NT, KERNEL >
 Integration of an arbitrary 2D function from (qx_min, qy_min) to (qx_max, qy_max) using TBB. More...
 

Namespaces

namespace  DiFfRG
 

Functions

template<typename ctype , typename NT , typename KERNEL , typename... T>
__global__ void DiFfRG::gridreduce_2d_cartesian (NT *dest, const ctype *x_quadrature_p, const ctype *x_quadrature_w, const ctype *y_quadrature_p, const ctype *y_quadrature_w, const ctype qx_min, const ctype qy_min, const ctype qx_extent, const ctype qy_extent, const ctype k, T... t)
 GPU kernel for the integration of an arbitrary 2D function from qx_min to qx_max and qy_min to qy_max.