[jit_kernel] Fix missing JIT kernel namespaces (#34106)
Co-authored-by: BBuf <1182563586@qq.com>
This commit is contained in:
co-authored by
BBuf
parent
f3ed82b3a8
commit
ec5199b906
@@ -24,6 +24,8 @@
|
|||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
|
namespace sglang {
|
||||||
|
|
||||||
namespace sglang_modulate_scale_shift {
|
namespace sglang_modulate_scale_shift {
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
@@ -219,3 +221,5 @@ struct ModulateScaleShiftKernel {
|
|||||||
};
|
};
|
||||||
|
|
||||||
} // namespace sglang_modulate_scale_shift
|
} // namespace sglang_modulate_scale_shift
|
||||||
|
|
||||||
|
} // namespace sglang
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
namespace {
|
namespace sglang {
|
||||||
|
|
||||||
struct AlignSingleTokenParams {
|
struct AlignSingleTokenParams {
|
||||||
const int32_t* __restrict__ topk_ids; // [1, topk]
|
const int32_t* __restrict__ topk_ids; // [1, topk]
|
||||||
@@ -104,4 +104,4 @@ struct AlignSingleTokenKernel {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace
|
} // namespace sglang
|
||||||
|
|||||||
Reference in New Issue
Block a user