![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
| void stan::math::opencl_kernels::merge | ( | __global SCAL * | A, |
| __global SCAL * | B, | ||
| __global SCAL * | res, | ||
| int | A_size, | ||
| int | B_size | ||
| ) |
Merges two sorted runs into a single sorted run of combined length.
| A | first sorted run | |
| B | second sorted run | |
| [out] | res | result |
| A_size | number of elements in A | |
| B_size | number of elements in B |
Definition at line 25 of file mergesort.hpp.