Skip to content

Commit d4f17d9

Browse files
committed
style: fix the styling issues for comments in dispatcher.h and cuda/causal_softmax/kernel.h
1 parent 7dcfea6 commit d4f17d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cuda/causal_softmax/kernel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class CudaCausalSoftmax : public CausalSoftmax {
3636

3737
DispatchFunc<ConcatType<List<DataType::kFloat32>, ReducedFloatTypes>,
3838
AllCudaBlockSizes>(
39-
// TODO: output dtype should use the one passed in during construction.
39+
// TODO: Output dtype should use the one passed in during construction.
4040
{static_cast<int64_t>(out.dtype()), block_size},
4141
[&](auto list_tag) {
4242
using T = TypeMapType<ListGet<0>(list_tag)>;

src/dispatcher.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ auto DispatchFunc(ValueType value, Functor &&func,
302302
std::forward<Args>(args)...);
303303
}
304304

305-
// Interface for Any `int64_t`-convertible Types
305+
// Interface for Any `int64_t`-Convertible Types
306306
template <typename... Lists, typename Functor, typename... Args>
307307
auto DispatchFunc(std::initializer_list<int64_t> keys, Functor &&func,
308308
std::string_view context_str = "", Args &&...args) {

0 commit comments

Comments
 (0)