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

◆ local_atomic_add_double()

void stan::math::opencl_kernels::local_atomic_add_double ( __local double *  val,
double  delta 
)

Atomically add to a local 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 52 of file atomic_add_double.hpp.