diff --git a/include/clad/Differentiator/BuiltinDerivativesCUDA.cuh b/include/clad/Differentiator/BuiltinDerivativesCUDA.cuh index 9179a7856..ef5ec9df8 100644 --- a/include/clad/Differentiator/BuiltinDerivativesCUDA.cuh +++ b/include/clad/Differentiator/BuiltinDerivativesCUDA.cuh @@ -13,7 +13,7 @@ __device__ inline void __logf_pullback(float a, float d_y, float* d_a) { } __device__ inline void __fdividef_pullback(float a, float b, float d_y, - float* d_a, float* d_b) { + float* d_a, float* d_b) { *d_a += (1.F / b) * d_y; *d_b += (-a / (b * b)) * d_y; } @@ -24,9 +24,9 @@ __device__ inline void rsqrtf_pullback(float a, float d_y, float* d_a) { } __device__ inline void make_float2_pullback(float a, float b, float2 d_y, - float* d_a, float* d_b) { + float* d_a, float* d_b) { *d_a += d_y.x; *d_b += d_y.y; } -} -} +} // namespace custom_derivatives +} // namespace clad