Skip to documentation
SLOP

tiny.gpu.RuntimeRequirements

Reference tiny.gpu RuntimeRequirements

Defined in contract.

API (8)

Actions

Public operations.

Fields and members

Public fields and members.

No direct callersNo direct callscontractRuntimeRequirements
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/gpu/src/contract.zig:857

zig
pub const RuntimeRequirements = struct {    driver_loaded: bool = false,    device_context: bool = false,    streams: bool = false,    events: bool = false,    timeline_events: bool = false,    host_pinned_memory: bool = false,    external_allocator: bool = false,    pub fn containsAll(self: RuntimeRequirements, required: RuntimeRequirements) bool {        if (required.driver_loaded and !self.driver_loaded) return false;        if (required.device_context and !self.device_context) return false;        if (required.streams and !self.streams) return false;        if (required.events and !self.events) return false;        if (required.timeline_events and !self.timeline_events) return false;        if (required.host_pinned_memory and !self.host_pinned_memory) return false;        if (required.external_allocator and !self.external_allocator) return false;        return true;    }};

Source: lib/gpu/src/root.zig:96

zig
pub const RuntimeRequirements = contract.RuntimeRequirements;
Called byCallsNo direct callsBackendCapabilitiessupportsRuntimeRuntimeRequirementscontainsAll
Static calls · unresolved targets: 0 · external targets: 0.

Audit

Definitions2
Public names4
Members7
Version26.7.0
Revisiondaab053ee433