DiFfRG
|
GPU integrator for the integration of a function with one angle with CUDA. Calculates. More...
#include <integrator_angle_gpu.hh>
Public Types | |
using | ctype = typename get_type::ctype<NT> |
Numerical type to be used for integration tasks e.g. the argument or possible jacobians. | |
Public Member Functions | |
IntegratorAngleGPU (QuadratureProvider &quadrature_provider, const std::array< uint, 2 > grid_sizes, const ctype x_extent, const JSONValue &json) | |
IntegratorAngleGPU (QuadratureProvider &quadrature_provider, std::array< uint, 2 > grid_sizes, const ctype x_extent, const uint max_block_size=256) | |
IntegratorAngleGPU (const IntegratorAngleGPU &other) | |
template<typename... T> | |
NT | get (const ctype k, const T &...t) const |
Get the integral of the kernel. | |
template<typename... T> | |
std::future< NT > | request (const ctype k, const T &...t) const |
Request a future for the integral of the kernel. | |
Private Types | |
using | PoolMR = rmm::mr::pool_memory_resource<rmm::mr::device_memory_resource> |
Private Attributes | |
const std::array< uint, 2 > | grid_sizes |
std::array< uint, 2 > | block_sizes |
const uint | device_data_size |
const ctype * | ptr_x_quadrature_p |
const ctype * | ptr_x_quadrature_w |
const ctype * | ptr_ang_quadrature_p |
const ctype * | ptr_ang_quadrature_w |
const ctype | x_extent |
dim3 | num_blocks |
dim3 | threads_per_block |
PoolMR | pool |
const rmm::cuda_stream_pool | cuda_stream_pool |
GPU integrator for the integration of a function with one angle with CUDA. Calculates.
\[ \int dp\, d\text{cos}\, \frac{1}{(2\pi)^d} f(p, \text{cos}, ...) + c \]
with \( p^2 \) bounded by \( \text{x_extent} * k^2 \).
NT | The numerical type of the result. |
KERNEL | The kernel to integrate. |
using DiFfRG::IntegratorAngleGPU< d, NT, KERNEL >::ctype = typename get_type::ctype<NT> |
Numerical type to be used for integration tasks e.g. the argument or possible jacobians.
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
Get the integral of the kernel.
T | Types of the parameters for the kernel. |
k | RG-scale. |
t | Parameters forwarded to the kernel. |
|
inline |
Request a future for the integral of the kernel.
T | Types of the parameters for the kernel. |
k | RG-scale. |
t | Parameters forwarded to the kernel. |
|
private |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |