---
id: pr-flashinfer-1547
repo: flashinfer-ai/flashinfer
pr: 1547
title: 'perf: replace cudaGetDeviceProperties with cudaDeviceGetAttribute'
author: yongwww
date: '2025-08-22'
url: https://github.com/flashinfer-ai/flashinfer/pull/1547
source_category: upstream-code
architectures:
- sm100
tags:
- kernel-fusion
- moe
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- moe
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: e2448aa6e3d268c0b4451d17d8cb5c1804ca1fb7
inclusion_reason: kernel file changes
changed_paths:
- csrc/cudnn_sdpa_kernel_launcher.cu
- include/flashinfer/comm/trtllm_allreduce_fusion.cuh
- include/flashinfer/comm/trtllm_moe_allreduce_fusion.cuh
head_ref_oid: 1210054312a36e0fc44c72e29500c7d7dc5ea284
artifact_dir: evidence/pull-bundles/flashinfer/gh-1547
---
# perf: replace cudaGetDeviceProperties with cudaDeviceGetAttribute

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

## Changed Paths

- `csrc/cudnn_sdpa_kernel_launcher.cu`
- `include/flashinfer/comm/trtllm_allreduce_fusion.cuh`
- `include/flashinfer/comm/trtllm_moe_allreduce_fusion.cuh`

## Evidence Bundle

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