Skip to content

Commit

Permalink
remove redundant blank lines
Browse files Browse the repository at this point in the history
Signed-off-by: yuanzexi <[email protected]>
  • Loading branch information
yuanzexi authored and rajeevsrao committed Mar 8, 2021
1 parent cee2a97 commit 8c10371
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugin/common/common.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ template <typename T, unsigned TPB>
__device__ inline void scaledSoftmax(
const int ld, const int lastValid, const float rsqrtHeadSize, const T* input, T* output)
{

using BlockReduce = cub::BlockReduce<float, TPB>;
__shared__ typename BlockReduce::TempStorage tmpStorage;

Expand All @@ -343,7 +342,6 @@ __device__ inline void scaledSoftmax(
{
threadData = 0;
}

for (int i = threadIdx.x; i < lastValid; i += TPB)
{
const int idx = offset + i;
Expand Down

0 comments on commit 8c10371

Please sign in to comment.