---
id: pr-triton-10189
repo: triton-lang/triton
pr: 10189
title: Support returning tensors in TritonToTritonGPU
author: leijurv
date: '2026-05-12'
url: https://github.com/triton-lang/triton/pull/10189
source_category: upstream-code
architectures:
- sm100
tags:
- triton
techniques: []
hardware_features: []
kernel_types: []
languages:
- triton
captured_at: '2026-05-16'
status: merged
merge_sha: 215c162d52158227dd0cff95e4901cf1996f636c
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- lib/Conversion/TritonToTritonGPU/TritonGPUConversion.cpp
- lib/Conversion/TritonToTritonGPU/TritonToTritonGPUPass.cpp
- python/test/unit/language/test_core.py
- test/Conversion/triton_to_tritongpu.mlir
artifact_dir: evidence/pull-bundles/triton/gh-10189
head_ref_oid: 3efb7683d214d6df7911a71c09dedb5f9bf0f223
---
# Support returning tensors in TritonToTritonGPU

- Repository: `triton-lang/triton`
- PR: [10189](https://github.com/triton-lang/triton/pull/10189)
- Decision: `Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.`
- Reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.

## Changed Paths

- `lib/Conversion/TritonToTritonGPU/TritonGPUConversion.cpp`
- `lib/Conversion/TritonToTritonGPU/TritonToTritonGPUPass.cpp`
- `python/test/unit/language/test_core.py`
- `test/Conversion/triton_to_tritongpu.mlir`

## Evidence Bundle

`evidence/pull-bundles/triton/gh-10189`
