Repository navigation
Conversation
This was referenced Oct 29, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
infini/rt/hygon/driver_.h.Motivation
InfiniOps can launch compiled Triton kernels from C++, but its Hygon implementation lacked the public driver interface. This supplies the interface needed by the Clover DCU integration without changing existing runtime operations.
Type of Change
feat- new backend capability / public APIPlatforms Affected
WITH_HYGON)Smoke Build and Test Result
Validated on Hygon BW / gfx936 with DTK 26.04, GCC 11.4, and CMake/Ninja:
An installed-header consumer and real InfiniOps Hygon Triton Add, convolution, GDN and MoE launches also passed. The initial consumer run lacked the DTK CUDA compatibility library path; adding that runtime path resolved it.
Test Results on Supported Platforms
Benchmark / Performance Impact
N/A: this exposes driver functionality; no standalone speedup is claimed.
Notes for Reviewers
The implementation uses DTK's CUDA driver compatibility API, consistent with the existing Hygon runtime. Tested compiler targets use 64-thread waves. InfiniOps must query the actual HIP compiler target rather than interpreting CUDA compute capability as a gfx architecture.