Automatic Differentiation
 
Loading...
Searching...
No Matches
indexing_rev.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 
namespace  stan::math::opencl_kernels
 

Functions

__kernel void stan::math::opencl_kernels::indexing_rev (__global double *adj, const __global int *index, const __global double *res, int size)
 Increments adjoint of the indexing operation argument given the indices and adjoints of the indexing result.
 
__kernel void stan::math::opencl_kernels::indexing_rev (__global double *adj, const __global int *index, const __global double *res, __local double *adj_loc, int index_size, int adj_size)
 Increments adjoint of the indexing operation argument given the indices and adjoints of the indexing result.
 

Variables

const kernel_cl< in_out_buffer, in_buffer, in_buffer, int > stan::math::opencl_kernels::indexing_rev_global_atomic ("indexing_rev", {atomic_add_double_device_function, indexing_rev_global_atomic_kernel_code})
 See the docs for add_batch() .
 
const kernel_cl< in_out_buffer, in_buffer, in_buffer, cl::LocalSpaceArg, int, int > stan::math::opencl_kernels::indexing_rev_local_atomic ("indexing_rev", {atomic_add_double_device_function, indexing_rev_local_atomic_kernel_code})
 See the docs for add_batch() .
 
const kernel_cl< in_out_buffer, in_buffer, in_buffer, cl::LocalSpaceArg, int, int > stan::math::opencl_kernels::indexing_rev_local_independent ("indexing_rev", {atomic_add_double_device_function, indexing_rev_local_independent_kernel_code})
 See the docs for add_batch() .