Skip to content
fn

own_grad_copy

int own_grad_copy(const int & s)

A gradient buffer its holder alone owns, for a holder that keeps adding into it. A metal add replaces the array rather than writing into it, so a metal gradient comes back as it is.