Expand description
OpenCL Backend for AMD GPU Acceleration
This module defines the data model and kernel source templates for a
quantum circuit simulation backend targeting AMD GPUs via OpenCL.
§HONEST-AVAILABILITY NOTE
This build does not link any OpenCL / AMD ROCm runtime. There is no
way here to enumerate real AMD devices, allocate device memory, compile a
kernel, or dispatch GPU work. Consequently the construction / availability
entry points (AMDOpenCLSimulator::new, benchmark_amd_opencl_backend)
return an honest SimulatorError::UnsupportedOperation instead of
fabricating device discovery (e.g. a hardcoded “Radeon RX 7900 XTX” with
invented compute-unit / memory figures) or fabricating kernel timings.
The public type definitions and the OpenCL kernel source strings are
retained: they are plain data / text and are useful to callers that have a
real OpenCL toolchain available outside this build. They never claim that
any silicon compiled or executed them.
Structs§
- AMDOpenCL
Simulator - AMD GPU-optimized quantum simulator using
OpenCL. - OpenCL
Buffer OpenCLmemory buffer descriptor.- OpenCL
Config OpenCLbackend configuration- OpenCL
Device OpenCLdevice information- OpenCL
Kernel OpenCLkernel information- OpenCL
Platform OpenCLplatform information- OpenCL
Stats OpenCLperformance statistics.
Enums§
- Kernel
Arg - Kernel argument types
- Memory
Flags OpenCLmemory flags- OpenCL
Device Type OpenCLdevice types- Optimization
Level OpenCLoptimization levels
Functions§
- benchmark_
amd_ opencl_ backend - Benchmark the AMD
OpenCLbackend.