---
id: pr-cccl-cub-6152
repo: NVIDIA/cccl
pr: 6152
title: Fix debug section around line 390 of dispatch_topk
author: oleksandr-pavlyk
date: '2025-10-13'
url: https://github.com/NVIDIA/cccl/pull/6152
source_category: upstream-code
architectures:
- sm100
tags:
- memory_primitives
- moe_routing
- topk
techniques: []
hardware_features: []
kernel_types:
- memory
- moe
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 3fb0582629a8ac9408ce88e07557362a38ddcc1f
inclusion_reason: Separate routing, permutation, top-k, and expert GEMM costs; keep tail-token and expert-layout tests attached to the idea.
changed_paths:
- cub/cub/device/dispatch/dispatch_topk.cuh
artifact_dir: evidence/pull-bundles/cccl-cub/gh-6152
head_ref_oid: 93c2c4a6b191384965eda80107eee5e209d11e9b
---
# Fix debug section around line 390 of dispatch_topk

- Repository: `NVIDIA/cccl`
- PR: [6152](https://github.com/NVIDIA/cccl/pull/6152)
- Decision: `Separate routing, permutation, top-k, and expert GEMM costs; keep tail-token and expert-layout tests attached to the idea.`
- Reason: Separate routing, permutation, top-k, and expert GEMM costs; keep tail-token and expert-layout tests attached to the idea.

## Changed Paths

- `cub/cub/device/dispatch/dispatch_topk.cuh`

## Evidence Bundle

`evidence/pull-bundles/cccl-cub/gh-6152`
