Bug 2572907

Summary: Review Request: rust-thelevel-devel - CPU/GPU shared-memory model in Rust, enforced by the type system
Product: [Fedora] Fedora Reporter: Americo Simoes <amexsimoes>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: package-review
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 177841    

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.