Skip to content

[REFACTOR][VM] Move CUDA graph VM builtin back under VM runtime#19758

Merged
tlopex merged 1 commit into
apache:mainfrom
tqchen:tvm-cuda-vm-layout-after-backend-refactor
Jun 14, 2026
Merged

[REFACTOR][VM] Move CUDA graph VM builtin back under VM runtime#19758
tlopex merged 1 commit into
apache:mainfrom
tqchen:tvm-cuda-vm-layout-after-backend-refactor

Conversation

@tqchen

@tqchen tqchen commented Jun 14, 2026

Copy link
Copy Markdown
Member

CUDA graph VM support is Relax VM functionality, so it should stay with the VM runtime layout instead of living under the CUDA backend runtime tree introduced by the backend reorg.

This moves the CUDA graph builtin back under src/runtime/vm/cuda and points the CUDA runtime CMake source glob at that VM-owned location while preserving the existing symbols and behavior.

CUDA graph VM support is Relax VM functionality, so it should stay with the VM runtime layout instead of living under the CUDA backend runtime tree introduced by the backend reorg.

This moves the CUDA graph builtin back under src/runtime/vm/cuda and points the CUDA runtime CMake source glob at that VM-owned location while preserving the existing symbols and behavior.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request moves the CUDA virtual machine builtin source files from src/backend/cuda/runtime/vm/ to src/runtime/vm/cuda/. It updates the CMake configuration to search for the source files in the new location and adjusts the relative include paths and file header in cuda_graph_builtin.cc accordingly. There are no review comments, and we have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@tlopex tlopex merged commit d291513 into apache:main Jun 14, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants