Accelerator foundation profiles¶
An accelerator foundation profile describes the immutable user-space compatibility of accelerator bytes a foundation carries: the vendor, the ABI, the minimum host driver, and the device classes those bytes work with.
{
"contract_version": "xck.accelerator_foundation_profile.v1",
"profile_id": "cuda-12-4-userspace",
"vendor": "nvidia",
"accelerator_user_space_abi": "cuda-12.4",
"minimum_compatible_host_driver_version": "550.54.14",
"compatible_device_classes": ["sm_80", "sm_86", "sm_90"],
"compatibility_constraints": ["host-driver >= 550.54.14"],
"accelerator_profile_digest": "sha256:9f2c..."
}
| Field | Meaning |
|---|---|
profile_id |
Names this compatibility profile |
vendor |
The accelerator vendor |
accelerator_user_space_abi |
The user-space ABI the bytes implement |
minimum_compatible_host_driver_version |
The host driver floor |
compatible_device_classes |
The device classes it runs on, non-empty |
compatibility_constraints |
Further stated constraints |
accelerator_profile_digest |
Digests every compatibility fact above |
The field set is exact: a profile carrying more or fewer fields is refused.
Compatibility, and where device authority lives¶
The profile answers whether these bytes can run on this hardware. Which device a cell gets, how much of it, and for how long are separate decisions owned by containment and resource owners.
Thirteen field names are refused so the two stay apart:
| Refused field group | The authority it would claim |
|---|---|
assigned_device, assigned_devices, device_ids, visible_devices, device_visibility |
Device assignment and visibility |
context, contexts, cuda_context |
Context ownership |
allocation, allocations, device_buffer_mechanisms |
Allocation and buffer transfer |
quota |
Share of the device |
residency |
Model or data residency |
The profile and the foundation agree¶
A foundation carries at most one accelerator profile, and it travels with the components that need it.
| Rule | Refusal |
|---|---|
| Accelerator-bound components require a profile | optional_accelerator_profile is required for accelerator-bound components |
| Every accelerator-bound component names the admitted profile | accelerator-bound components must name the admitted foundation profile |
| A declared profile is used by at least one component | optional_accelerator_profile must be used by at least one accelerator-bound component |
The profile is one of the facts foundation_digest covers, so a foundation
built against a different accelerator ABI is a different substrate. See
Foundation identity and the foundation digest.
Where compatibility is checked¶
Accelerator user-space content is an exportable baseline kind, so a foundation may export it to every cell. Whether the host satisfies the profile's driver floor and device classes is checked when the closure is admitted against the node it will run on.
| Decided by the profile | Decided at admission and placement |
|---|---|
| Which host driver versions these bytes work with | Whether this node has one |
| Which device classes they support | Which device the cell receives |
| Which ABI they implement | Whether the hardware profile matches the cell reuse key |
hardware_profile is part of the cell reuse key, so a cell on one device class
is never reused for another. See Cell reuse keys.