Module opencl_amd_backend

Module opencl_amd_backend 

Source
Expand description

OpenCL Backend for AMD GPU Acceleration

This module provides high-performance quantum circuit simulation using OpenCL to leverage AMD GPU compute capabilities. It implements parallel state vector operations, gate applications, and quantum algorithm acceleration on AMD graphics processing units.

Key features:

  • OpenCL kernel compilation and execution
  • AMD GPU-optimized quantum gate operations
  • Parallel state vector manipulation
  • Memory management for large quantum states
  • Support for AMD ROCm and OpenCL 2.0+
  • Automatic device detection and selection
  • Performance profiling and optimization
  • Fallback to CPU when GPU is unavailable

Structs§

AMDOpenCLSimulator
AMD GPU-optimized quantum simulator using OpenCL
OpenCLBuffer
Simulated OpenCL buffer
OpenCLCommandQueue
Simulated OpenCL command queue
OpenCLConfig
OpenCL backend configuration
OpenCLContext
Simulated OpenCL context
OpenCLDevice
OpenCL device information
OpenCLKernel
OpenCL kernel information
OpenCLPlatform
OpenCL platform information
OpenCLStats
OpenCL performance statistics

Enums§

KernelArg
Kernel argument types
MemoryFlags
OpenCL memory flags
OpenCLDeviceType
OpenCL device types
OptimizationLevel
OpenCL optimization levels

Functions§

benchmark_amd_opencl_backend
Benchmark AMD OpenCL backend performance