---
id: pr-flashinfer-2415
repo: flashinfer-ai/flashinfer
pr: 2415
title: Remove cudaMalloc/Free in GDN prefill kernel
author: KevinZeng08
date: '2026-01-25'
url: https://github.com/flashinfer-ai/flashinfer/pull/2415
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- prefill
techniques: []
hardware_features: []
kernel_types:
- prefill
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 920c82a40733af60196fea6347691d46b7070aa4
inclusion_reason: kernel file changes
changed_paths:
- csrc/flat/prefill/prefill_kernel.hpp
- csrc/flat/prefill/prefill_kernel_delta_rule_sm90.cu
- csrc/flat/prefill/prefill_kernel_delta_rule_sm90.cuh
- csrc/gdn_prefill_launcher.cu
- flashinfer/gdn_prefill.py
head_ref_oid: 5e64c90513784e8425c6a8d9b5acec93070e408a
artifact_dir: evidence/pull-bundles/flashinfer/gh-2415
---
# Remove cudaMalloc/Free in GDN prefill kernel

- Repository: `flashinfer-ai/flashinfer`
- PR: [2415](https://github.com/flashinfer-ai/flashinfer/pull/2415)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `csrc/flat/prefill/prefill_kernel.hpp`
- `csrc/flat/prefill/prefill_kernel_delta_rule_sm90.cu`
- `csrc/flat/prefill/prefill_kernel_delta_rule_sm90.cuh`
- `csrc/gdn_prefill_launcher.cu`
- `flashinfer/gdn_prefill.py`

## Evidence Bundle

`evidence/pull-bundles/flashinfer/gh-2415`
