kido

GPU

Evaluate ARM64 Linux GPUs against Apple's Metal API levels and GPU families inside KidoDarwin micro-VMs over virtio-metal and host Vulkan. Select a target API level and Apple GPU family below to inspect what works today, what the silicon can support later, what can be software-emulated, and where hardware limits apply.

NativeSoftwareHW ReadyEmulatableHW Limit
Reference: Apple Metal Feature Set Tables
Metal API
Apple Family
Boards

Showing all Apple Metal 3 and Metal 4 requirements across Apple2 to Apple11.

Apple Specification

RK3588

Mali-G610 MC4

Raspberry Pi 5

VideoCore VII (V3D 7.1)
Status
Verification
Host and guest
Verified
Live Metal compute, .metallib AIR, and async pipeline verified
Verified
Live Metal compute, .metallib AIR, and async pipeline verified
Target Match
Selected API and family
14 working14 HW ready5 emulatable7 HW limit
33 of 40 target requirements achievable (13 native, 1 software today)
11 working7 HW ready9 emulatable13 HW limit
27 of 40 target requirements achievable (10 native, 1 software today)
Current Metal API Level
Metal 3 / Metal 4
Metal 3 Compute
Core compute, blit, function constants, .metallib AIR, async queues
Metal 3 Compute (Subset)
Core compute, blit, function constants, .metallib AIR (up to 256 threads/TG)
Compute Family Equivalent
Apple2 to Apple11
Apple6/Apple7 (Compute)
Meets Apple6/Apple7 compute limits and Apple8 SIMD; lacks HW matrix and bfloat16
Apple2 limits, Apple7 SIMD
256 threads/TG, 8 SSBOs, no int64; full FP16 and 10-op SIMD/Quad
Linux Vulkan Driver
Host backend
PanVK 27.0, Vulkan 1.4
Conformance 1.4.1.2 (Mesa upstream panthor)
V3DV 26.2, Vulkan 1.3
Conformance 1.3.8.3 (Mesa upstream v3dv)
Implementation Limits
Max Threads / Threadgroup
512 (Apple2), 1024 (Apple4+)
Native1024
1024 x 1024 x 1024 compute workgroup
HW Limit256
Hardware ceiling (256 x 256 x 256), below Apple2 minimum of 512
Max Threadgroup Memory
16 KB (Apple2), 32 KB (Apple4+)
Native32 KB
32,768 bytes maxComputeSharedMemorySize
Native32 KB
32,768 bytes maxComputeSharedMemorySize
Buffer Slots / Stage
31 (Apple2+)
Native31 (HW: 1,048,576)
Exceeds Apple2+ direct slot limit
Emulatable8 SSBOs / stage
Below Apple2 minimum of 31; liftable via bufferDeviceAddress indirection
Max 2D Texture Size
8192 (Apple2), 16384 (Apple3-9), 32768 (Apple10+)
HW Ready65,536 px
Exceeds Apple11 (32,768 px); textures not yet wired in kido
HW Limit7,680 px
Below Apple2 minimum of 8,192 px
Max Viewports
1 (Apple2-4), 16 (Apple5+)
HW Limit1
Hardware supports 1 viewport (Apple5+ requires 16)
HW Limit1
Hardware supports 1 viewport (Apple5+ requires 16)
Max MSAA Sample Count
4x (Apple2-9), 8x (Apple10+)
HW Ready16x
1/4/8/16x MSAA in hardware; render passes not yet wired
HW Ready4x
1/4x MSAA in hardware (Apple10+ requires 8x)
Apple2 to Apple5
Function Specialization
Apple2, Metal 3/4
NativeSupported
Lowered to Vulkan specialization constants
NativeSupported
Lowered to Vulkan specialization constants
FP16 and 16-bit Storage
Apple2, Metal 3/4
NativeNative FP16
shaderFloat16 and storageBuffer16BitAccess
NativeNative FP16
shaderFloat16 and storageBuffer16BitAccess
8-bit Integer and Storage
Apple2, Metal 3/4
NativeNative Int8
shaderInt8, storageBuffer8BitAccess, packed 4x8 dot product
NativeNative Int8
shaderInt8, storageBuffer8BitAccess, signed/unsigned/mixed 4x8 dot
ETC2 and ASTC Compression
Apple2, Metal 3/4
HW ReadyETC2, ASTC LDR/HDR
Present in hardware; texture path not yet wired
HW ReadyETC2, ASTC LDR
Hardware ETC2 and ASTC LDR; no ASTC HDR
PVRTC Pixel Formats
Apple2, Metal 3/4
HW LimitUnsupported
Apple/PowerVR proprietary format; decode-only fallback possible in software
HW LimitUnsupported
Apple/PowerVR proprietary format
64-bit Integer Math
Apple3, Metal 3/4
NativeNative Int64
shaderInt64 = true
EmulatableNo HW Int64
shaderInt64 = false; emulatable as 2x32-bit integer pairs in air2spv
Indirect Compute Dispatch
Apple3, Metal 3/4
NativeSupported
Backed by vkCmdDispatchIndirect
NativeSupported
Backed by vkCmdDispatchIndirect
Prebuilt .metallib (AIR)
Apple3, Metal 3/4
SoftwareSandboxed AIR to SPIR-V
Verified with macOS 27.2 MTLECBE/default .metallib and neural kernels
SoftwareSandboxed AIR to SPIR-V
Verified with macOS 27.2 MTLECBE/default .metallib and neural kernels
Tessellation
Apple3, Metal 3
HW LimitUnsupported
tessellationShader = false
HW LimitUnsupported
tessellationShader = false
Quad-Scoped Permute
Apple4, Metal 3/4
NativeSubgroup 16, QUAD
Hardware quad subgroup operations
NativeSubgroup 16, QUAD
Hardware quad subgroup operations
Nonuniform Threadgroup Size
Apple4, Metal 3/4
NativeSupported
dispatchThreads bounds-clamped in shader/worker
NativeSupported
dispatchThreads bounds-clamped in shader/worker
Imageblocks, Tile Shaders, ROG
Apple4, Metal 3/4
HW LimitUnsupported
Apple-proprietary TBDR tile memory and raster order groups
HW LimitUnsupported
Apple-proprietary TBDR tile memory and raster order groups
Apple6
Argument Buffers Tier 2
Apple6, Metal 3/4
HW ReadyBDA and 1M Bindless
bufferDeviceAddress and UpdateAfterBind ready in PanVK
EmulatableBDA only (8 SSBOs)
bufferDeviceAddress = true, no large bindless descriptor tables
SIMD Permute and Quad Ballot
Apple6, Metal 3/4
NativeSHUFFLE and BALLOT
Hardware subgroup shuffle, relative shuffle, and ballot
NativeSHUFFLE and BALLOT
Hardware subgroup shuffle, relative shuffle, and ballot
BFloat16
Apple6, Metal 3/4
EmulatableSoftware lowering
No HW bfloat16; emulatable via FP32 in air2spv
EmulatableSoftware lowering
No HW bfloat16; emulatable via FP32 in air2spv
Sparse Textures
Apple6, Metal 3/4
HW Ready128 TB sparse VA
Hardware sparse address space present; not yet wired
HW LimitUnsupported
sparseAddressSpaceSize = 0
Ray Tracing (Compute / Render)
Apple6, Metal 3/4
HW LimitUnsupported
No hardware ray-query or acceleration structure units
HW LimitUnsupported
No hardware ray-query or acceleration structure units
Apple7 (Metal 3 and Metal 4 Baseline)
SIMD and Quad Reductions
Apple7, Metal 3/4
NativeARITHMETIC and VOTE
Hardware subgroup arithmetic reductions and clustered ops
NativeARITHMETIC and VOTE
Hardware subgroup arithmetic reductions and clustered ops
SIMD Matrix Multiply (simdgroup_matrix)
Apple7, Metal 3/4
EmulatableSoftware lowering
No HW cooperativeMatrix; emulatable via FP16/FP32 subgroup math
EmulatableSoftware lowering
No HW cooperativeMatrix; emulatable via FP16/FP32 subgroup math
Floating-Point Atomics
Apple7, Metal 3/4
EmulatableLoad/store HW, add CAS
shaderBufferFloat32Atomics = true, atomic_add emulatable via CAS
Emulatable32-bit CAS emulation
No VK_EXT_shader_atomic_float; emulatable via atomicCompSwap loop
Acquire/Release Atomics
Apple7, Metal 3/4
HW ReadyVulkan Memory Model
vulkanMemoryModel and deviceScope = true in PanVK
HW ReadyVulkan Memory Model
vulkanMemoryModel and deviceScope = true in V3DV
Mesh Shading
Apple7, Metal 3/4
HW LimitUnsupported
No hardware mesh shader pipeline
HW LimitUnsupported
No hardware mesh shader pipeline
Argument Tables
Apple7, Metal 4
HW ReadyBindless descriptor table
Mappable to PanVK UpdateAfterBind descriptor indexing
EmulatableBDA buffer table
Limited descriptor slots; buffers mappable via bufferDeviceAddress
Command Allocators and Decoupled Buffers
Apple7, Metal 4
EmulatableHost allocator mapping
Implementable in kido-vk-worker over VkCommandPool
EmulatableHost allocator mapping
Implementable in kido-vk-worker over VkCommandPool
Command Barriers
Apple7, Metal 4
HW ReadyVulkan sync2 barriers
Mappable directly to vkCmdPipelineBarrier2
HW ReadyVulkan sync2 barriers
Mappable directly to vkCmdPipelineBarrier2
Tensors and ML Encoding
Apple7, Metal 4
EmulatableCompute shader lowering
No dedicated tensor unit; lowered to FP16/Int8 compute kernels
EmulatableCompute shader lowering
No dedicated tensor unit; lowered to FP16/Int8 compute kernels
Performance Counter Heaps
Apple7, Metal 4
HW ReadyVkQueryPool timestamps
64-bit hardware timestamp queries available in PanVK
HW ReadyVkQueryPool timestamps
64-bit hardware timestamp queries available in V3DV
Apple8 to Apple11
SIMD Shift and Fill (Rotate)
Apple8, Metal 3/4
NativeROTATE supported
ROTATE and ROTATE_CLUSTERED in hardware
NativeROTATE supported
ROTATE and ROTATE_CLUSTERED in hardware
Placement Sparse Buffers and Textures
Apple8, Metal 4
HW Ready128 TB sparse VA
Hardware sparse binding present; not yet wired
HW LimitUnsupported
No hardware sparse memory binding
BC Texture Compression
Apple9, Metal 3/4
HW ReadyBC1-BC7 in HW
textureCompressionBC = true in PanVK
HW LimitUnsupported
textureCompressionBC = false
64-bit Atomics
Apple9, Metal 3/4
HW ReadyFull Int64 atomics
Buffer, shared, and image 64-bit integer atomics in PanVK
HW LimitUnsupported
No hardware 64-bit integer atomics
Sampler Min/Max Reduction
Apple10, Metal 3/4
HW ReadySupported in HW
samplerFilterMinmax = true in PanVK
HW LimitUnsupported
samplerFilterMinmax = false
Depth Bounds Testing
Apple10, Metal 3/4
HW LimitUnsupported
depthBounds = false
HW ReadySupported in HW
depthBounds = true in V3DV
FP32 Denormalized Numbers
Apple11, Metal 3/4
HW ReadyPreserved in HW
shaderDenormPreserveFloat32 = true
HW ReadyPreserved in HW
shaderDenormPreserveFloat32 = true
kido Runtime
Zero-Copy Shared Memory
virtio-metal BAR4
Nativeudmabuf (Tier 1)
Zero-copy BAR4 import up to kernel udmabuf limit (64 MiB default)
Nativeudmabuf (Tier 1)
Zero-copy with auto-detected 256 B V3D guard pad; staging >64 MiB
Cache Coherency
Host/guest sync
SoftwareKVM dirty-log + PoC sync
Non-coherent SoC; 4-core parallel ARM64 dc civac auto-selected
SoftwareKVM dirty-log + PoC sync
Non-coherent SoC; 4-core parallel ARM64 dc civac auto-selected
Async Command Pipeline
4-slot ring
Native4-slot async ring
Up to 1.78x speedup over synchronous commits
Native4-slot async ring
Overlaps cache sync and staging (up to 1.62x on large buffers)
GPU Timestamps
VkQueryPool
Native64-bit HW timestamps
41.67 ns period via VkQueryPool
Native64-bit HW timestamps
1.0 ns period via VkQueryPool
Pipelined GPU Utilization
3-deep Metal bench
Native98.1% ± 1.0%
169.4 GFLOP/s FP16 GEMM, 21.2 GB/s SwiGLU
Native~99.8%
28.7 GFLOP/s FP16 GEMM, 4.64 GB/s SwiGLU (<0.05 ms overhead)
No rows match the current filter.