Skip to content

Commit

Permalink
Del un mgpu @ deeplearning/projects/flashlight/flashlight/pkg/speech/…
Browse files Browse the repository at this point in the history
…third_party/warpctc/include/detail/gpu_ctc_kernels.h:8

Summary:
Removes a `using namespace` from the global namespace in pursuit of enabling `-Wheader-hygiene`.
Qualifies instances that relied on the `using namespace`.

#buildmore - Be thorough

#buildsonlynotests - If it builds, it works

 - If you approve of this diff, please use the "Accept & Ship" button

Reviewed By: palmje, meyering

Differential Revision: D59157511

fbshipit-source-id: 0e688d1c4bfddac986117df580614839fa6f58a0
  • Loading branch information
r-barnes authored and facebook-github-bot committed Jul 9, 2024
1 parent abdcc93 commit 5cb2bba
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

#include "ctc_helper.h"

using namespace mgpu;

template<int NT, int VT, typename T, typename KeyT, typename Op>
struct CTASegReduce {
Expand Down Expand Up @@ -485,4 +484,4 @@ __global__ void prepare_stable_SM_kernel(Op f, ProbT* probs,
}
idx += stride;
}
}
}

0 comments on commit 5cb2bba

Please sign in to comment.