---
id: pr-tensorrt-llm-11900
repo: NVIDIA/TensorRT-LLM
pr: 11900
title: '[TRTLLM-10407][feat] Integrate CuTE DSL top-k kernel for Blackwell'
author: limin2021
date: '2026-03-09'
url: https://github.com/NVIDIA/TensorRT-LLM/pull/11900
source_category: upstream-code
architectures:
- sm100
tags:
- arch_pipeline
- benchmark_test
- compiler_runtime
- cute dsl
- memory_primitives
- scheduler_autotune
techniques:
- autotuning
- pipeline-stages
- tile-scheduling
hardware_features:
- blackwell
kernel_types:
- compiler
- decode
- memory
- runtime
- scan
- scheduler
languages:
- cuda-cpp
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: 91233d5c41cf641f993987cca0c8ef40191b4d08
inclusion_reason: 'Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.'
changed_paths:
- tensorrt_llm/_torch/custom_ops/cute_dsl_custom_ops.py
- tensorrt_llm/_torch/cute_dsl_kernels/blackwell/top_k/__init__.py
- tensorrt_llm/_torch/cute_dsl_kernels/blackwell/top_k/block_scan.py
- tensorrt_llm/_torch/cute_dsl_kernels/blackwell/top_k/filtered_top_k_decode_varlen.py
- tensorrt_llm/_torch/cute_dsl_kernels/blackwell/top_k/filtered_top_k_varlen_util.py
- tests/unittest/_torch/thop/parallel/test_indexer_topk.py
artifact_dir: evidence/pull-bundles/tensorrt-llm/gh-11900
head_ref_oid: fb3e81dfccf5bb2a6f6164d1bff4e5621df106c5
---
# [TRTLLM-10407][feat] Integrate CuTE DSL top-k kernel for Blackwell

- Repository: `NVIDIA/TensorRT-LLM`
- PR: [11900](https://github.com/NVIDIA/TensorRT-LLM/pull/11900)
- Decision: `Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.`
- Reason: Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.

## Changed Paths

- `tensorrt_llm/_torch/custom_ops/cute_dsl_custom_ops.py`
- `tensorrt_llm/_torch/cute_dsl_kernels/blackwell/top_k/__init__.py`
- `tensorrt_llm/_torch/cute_dsl_kernels/blackwell/top_k/block_scan.py`
- `tensorrt_llm/_torch/cute_dsl_kernels/blackwell/top_k/filtered_top_k_decode_varlen.py`
- `tensorrt_llm/_torch/cute_dsl_kernels/blackwell/top_k/filtered_top_k_varlen_util.py`
- `tests/unittest/_torch/thop/parallel/test_indexer_topk.py`

## Evidence Bundle

`evidence/pull-bundles/tensorrt-llm/gh-11900`
