Uh oh!
There was an error while loading. Please reload this page.
Add GPU Utilities for new HintBridge - #40
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds CUDA/GPU support for the HintSpaceProvider periphery chip used by the new HintBridge, enabling GPU-side trace generation for the hint space provider table and registering the chip in the GPU prover extension.
Changes:
- Added a
#[cfg(feature = "cuda")]GPU chip wrapper (HintSpaceProviderChipGpu) that uploads accumulated(hint_id, offset, value)triples to the GPU and invokes a CUDA tracegen kernel. - Registered
HintSpaceProviderChipGpuin the native GPU prover extension prior toNativeSumcheckChipGputo respect dispatch ordering. - Added CUDA ABI bindings and a new CUDA kernel implementation (
hint_space_provider.cu) for trace generation.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| extensions/native/circuit/src/hint_space_provider.rs | Adds CUDA-only GPU chip wrapper that drains CPU-collected hint records and generates the provider trace on GPU. |
| extensions/native/circuit/src/extension/cuda.rs | Registers the GPU hint space provider chip in the native GPU prover extension (ordering relative to sumcheck). |
| extensions/native/circuit/src/cuda_abi.rs | Adds FFI bindings for the hint space provider CUDA tracegen entrypoint. |
| extensions/native/circuit/cuda/src/hint_space_provider.cu | Implements the CUDA kernel to write provider trace rows from uploaded triples. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.
No description provided.