Skip to content

Commit a9fcbd1

Browse files
TimDettmersclaude
andcommitted
Fix compilation error: undefined 'stream' in MoE GEMM init
Use nullptr (default CUDA stream) for the one-time initialize call in cgemm_nvfp4_moe_sm100_init. The stream parameter was referenced but not declared in the init function signature. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e4a899e commit a9fcbd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csrc/qutlass/gemm_nvfp4_moe_sm100.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ extern "C" int cgemm_nvfp4_moe_sm100_init(
280280

281281
// Initialize the persistent Gemm object: triggers cudaFuncSetAttribute
282282
// (one-time, not graph-safe) and fills internal params_ with dummy pointers.
283-
status = st.gemm.initialize(arguments, st.workspace_dev, stream);
283+
status = st.gemm.initialize(arguments, st.workspace_dev, nullptr);
284284
if (status != cutlass::Status::kSuccess) {
285285
fprintf(stderr, "MoE GEMM initial initialize failed: %d\n", (int)status);
286286
return -2;

0 commit comments

Comments
 (0)