Stan Math Library
5.0.0
Automatic Differentiation
|
__kernel void stan::math::opencl_kernels::cumulative_sum2 | ( | __global SCAL * | data, |
int | size | ||
) |
Second kernel of the cumulative sum implementation.
Calculates prefix sum of given data in place using a single work group (must be run with a single work group).
[in,out] | data | data to calculate cumulative sum of |
size | size number of elements in the input |
Definition at line 75 of file cumulative_sum.hpp.