Skip to content

Commit

Permalink
Drop some unused variables (pytorch#70879)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: pytorch#70879

Sandcastle from layer_norm_kernel.cu

Test Plan: Sandcastle

Reviewed By: malfet

Differential Revision: D33439040

fbshipit-source-id: e7d0e37ab25d62c63f675da3b6eff670fd93b26a
  • Loading branch information
r-barnes authored and facebook-github-bot committed Jan 6, 2022
1 parent 7487905 commit 6773589
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions aten/src/ATen/native/cuda/layer_norm_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -559,10 +559,6 @@ __global__ void GammaBetaBackwardCUDAKernel(
alignas(sizeof(double)) extern __shared__ char s_data1[];
T_ACC * s_data_typed = reinterpret_cast<T_ACC*>(&s_data1);
const int64_t j = blockIdx.x * blockDim.x + threadIdx.x;
T_ACC dg_sum1 = 0;
T_ACC dg_sum2 = 0;
T_ACC db_sum1 = 0;
T_ACC db_sum2 = 0;
constexpr int unroll = 8;
T dYs[unroll];
T Xs[unroll];
Expand Down

0 comments on commit 6773589

Please sign in to comment.