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

◆ atomic_add_double()

void stan::math::opencl_kernels::atomic_add_double ( __global double *  val,
double  delta 
)

Atomically add to a double value.

Code is taken from: https://stackoverflow.com/questions/31863587/atomic-operations-with-double-opencl

Parameters
valpointer to value to add to
deltavalue to add

Definition at line 27 of file atomic_add_double.hpp.