---
id: pr-pytorch-163388
repo: pytorch/pytorch
pr: 163388
title: '[Inductor][Intel GPU] Save `threads_per_warp` from tirton compiled kernel for launching kernel correctly in cpp wrapper.'
author: pytorchbot
date: '2025-09-26'
url: https://github.com/pytorch/pytorch/pull/163388
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
techniques: []
hardware_features: []
kernel_types:
- gemm
languages:
- triton
captured_at: '2026-04-17'
status: merged
merge_sha: 7cadf8ac046a09e862b1e5b8ba50be81decab377
inclusion_reason: kernel file changes
changed_paths:
- torch/_inductor/codegen/cpp_wrapper_gpu.py
- torch/_inductor/runtime/triton_heuristics.py
- torch/csrc/inductor/aoti_runtime/sycl_runtime_wrappers.h
head_ref_oid: 1f213fa7400fdb76e7ff3d4c6809b826f09c88c0
artifact_dir: evidence/pull-bundles/pytorch/gh-163388
---
# [Inductor][Intel GPU] Save `threads_per_warp` from tirton compiled kernel for launching kernel correctly in cpp wrapper.

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

## Changed Paths

- `torch/_inductor/codegen/cpp_wrapper_gpu.py`
- `torch/_inductor/runtime/triton_heuristics.py`
- `torch/csrc/inductor/aoti_runtime/sycl_runtime_wrappers.h`

## Evidence Bundle

`evidence/pull-bundles/pytorch/gh-163388`
