Skip to main content

Module machine_gpu_profile

Module machine_gpu_profile 

Source
Expand description

Host GPU native capability profile (CUDA / DX12 / Vulkan / Metal tiers over WGSL floor). Machine GPU capability profile — which native tiers beat portable WGSL here.

WGSL is the universal floor (WebGPU / wgpu). HLSL+DXC, CUDA-C/NVRTC/WMMA, MSL, SPIR-V, subgroups, and coopmat are higher tiers when present. This profile records what the host actually has and which decode path was measured best, so install/runtime can prefer native performance instead of defaulting forever to the WGSL baseline.

On disk: machine-gpu-profile.json (campaign / passport adjacent).

Structs§

AdapterFeatures
MachineGpuProfile
MeasuredDecodePath
One measured decode path (backend + mode + package).
RecommendedPath
Recommended runtime configuration for this machine.
ToolchainAvailability

Constants§

MACHINE_GPU_PROFILE_NAME
MACHINE_GPU_PROFILE_VERSION