---
id: pr-flashinfer-2945
repo: flashinfer-ai/flashinfer
pr: 2945
title: 'fix: use float instead of double in sampling binary search to avoid FP64 bottleneck on SM103'
author: bkryu
date: '2026-04-04'
url: https://github.com/flashinfer-ai/flashinfer/pull/2945
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
techniques: []
hardware_features: []
kernel_types: []
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 19329d838236803c59c8f571d42910b1c0c2a18e
inclusion_reason: kernel file changes
changed_paths:
- include/flashinfer/sampling.cuh
head_ref_oid: c762c27cb5bfd5f80d38e19da16cfbdd2c5cb4a2
artifact_dir: evidence/pull-bundles/flashinfer/gh-2945
---
# fix: use float instead of double in sampling binary search to avoid FP64 bottleneck on SM103

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

## Changed Paths

- `include/flashinfer/sampling.cuh`

## Evidence Bundle

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