Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ merge_step()

__kernel void stan::math::opencl_kernels::merge_step ( __global SCAL *  output,
__global SCAL *  input,
int  run_len,
int  size,
int  tasks 
)

Merges sorted runs into longer sorted runs.

Parameters
[out]outputresult
inputinput data
run_lenlengths of sorted runs in the input
sizesize of the input and output
tasksnumber of merges that need to be executed - same as the number of sorted runs in the output

Definition at line 83 of file mergesort.hpp.