Bug 2572907 - Review Request: rust-thelevel-devel - CPU/GPU shared-memory model in Rust, enforced by the type system
Summary: Review Request: rust-thelevel-devel - CPU/GPU shared-memory model in Rust, en...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE-NEEDSPONSOR
TreeView+ depends on / blocked
 
Reported: 2026-11-13 01:00 UTC by Americo Simoes
Modified: 2026-11-17 19:02 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Americo Simoes 2026-11-13 01:00:06 UTC
Spec URL: <copr srpm-builds URL>/thelevel-rs.spec
SRPM URL: <copr srpm-builds URL>/rust-thelevel-devel-0.1.0-1.fc43.src.rpm

Description:
The CPU/GPU shared-memory model in Rust: a buffer both the CPU and the
accelerator can touch, one explicit handoff, an operation with a
completion handle, and a chain submitted once. The handoff is a
type-level transition: ChipBuffer<T, CpuState> and ChipBuffer<T,
GpuState> are distinct types, sync is the only way across, and
Chain::add takes only GPU-state buffers.

Backends: CpuBackend (proves the type contract without a GPU) and
WgpuBackend (Vulkan/Metal/DX12 via wgpu, native only).

Measured, N=8 chain vs N=8 per-op submits, 200 runs per batch:
  i915 BLT (C, copperlist):  18-36 us/link vs 224 us/link  6.25x-12.31x
  wgpu/Vulkan (Rust, HD 520): 91 us/link vs 218 us/link     2.31x-2.47x

This package builds from a vendored crate tree because wgpu and its
dependencies are not yet packaged in Fedora. It is a source-only
package (rust-thelevel-devel); dnf install requires --skip-broken
until wgpu's crate tree is in the distribution.

Fedora Account System Username: SimoesCTT

Comment 1 Americo Simoes 2026-11-13 01:01:41 UTC
The vendored crate tree is the one acknowledged deviation. wgpu and
its dependencies are not packaged in Fedora 43, so the crate is built
from a vendor tarball. rust2rpm cannot generate an unbundled spec
until the wgpu tree is available.

The package is source-only: rust-thelevel-devel ships the crate source
under /usr/share/cargo/registry/. dnf install requires --skip-broken
because the RPM declares crate(wgpu/default) and related provides that
do not exist in Fedora's repositories.

%check in mock:
  SKIP: no wgpu adapter in buildroot
The type-contract test (cpu_chain) passes without a GPU; the wgpu
chain test runs where an adapter with MAPPABLE_PRIMARY_BUFFERS exists
(local rpmbuild) and skips with a note where it does not.

Comment 2 Fedora Review Service 2026-11-17 10:52:19 UTC
Cannot find any valid SRPM URL for this ticket. Common causes are:

- You didn't specify `SRPM URL: ...` in the ticket description
  or any of your comments
- The URL schema isn't HTTP or HTTPS
- The SRPM package linked in your URL doesn't match the package name specified
  in the ticket summary


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.


Note You need to log in before you can comment on or make changes to this bug.