Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
kchristin22 committed Nov 17, 2024
1 parent 952cb77 commit 92e0488
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/clad/Differentiator/BuiltinDerivativesCUDA.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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

0 comments on commit 92e0488

Please sign in to comment.