compute-copy

command
v0.20.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Command compute-copy demonstrates GPU buffer copying via a compute shader. It uploads an array of float32 values, dispatches a shader that copies each element from source to destination (with a scale factor), and reads back the results for CPU verification.

The example is headless (no window required) and works on any supported GPU.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL