---
id: pr-sglang-7649
repo: sgl-project/sglang
pr: 7649
title: '[Feature] CUDA Green Context Support'
author: ykcombat
date: '2025-07-14'
url: https://github.com/sgl-project/sglang/pull/7649
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
techniques: []
hardware_features: []
kernel_types: []
languages:
- cuda-cpp
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 1ebec1a8b0f1bf381a023b1dbc28b54b5ffc50f2
inclusion_reason: kernel file changes
changed_paths:
- sgl-kernel/CMakeLists.txt
- sgl-kernel/csrc/common_extension.cc
- sgl-kernel/csrc/spatial/cuda_utils.h
- sgl-kernel/csrc/spatial/greenctx_stream.cu
- sgl-kernel/csrc/spatial/greenctx_stream.h
- sgl-kernel/include/sgl_kernel_ops.h
- sgl-kernel/python/sgl_kernel/__init__.py
- sgl-kernel/python/sgl_kernel/spatial.py
- sgl-kernel/tests/spatial/test_greenctx_stream.py
head_ref_oid: b8375f390b94434da4b902b62b411a73735045e4
artifact_dir: evidence/pull-bundles/sglang/gh-7649
---
# [Feature] CUDA Green Context Support

- Repository: `sgl-project/sglang`
- PR: [7649](https://github.com/sgl-project/sglang/pull/7649)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `sgl-kernel/CMakeLists.txt`
- `sgl-kernel/csrc/common_extension.cc`
- `sgl-kernel/csrc/spatial/cuda_utils.h`
- `sgl-kernel/csrc/spatial/greenctx_stream.cu`
- `sgl-kernel/csrc/spatial/greenctx_stream.h`
- `sgl-kernel/include/sgl_kernel_ops.h`
- `sgl-kernel/python/sgl_kernel/__init__.py`
- `sgl-kernel/python/sgl_kernel/spatial.py`
- `sgl-kernel/tests/spatial/test_greenctx_stream.py`

## Evidence Bundle

`evidence/pull-bundles/sglang/gh-7649`
