Skip to documentation
SLOP

tiny.gpu.SyncRequest

Reference tiny.gpu SyncRequest

Defined in contract.

API (4)

Actions

Public operations.

Fields and members

Public fields and members.

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

Source

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

zig
pub const SyncRequest = struct {    scope: SyncScope,    stream: ?StreamHandle = null,    event: ?EventHandle = null,    pub fn valid(self: SyncRequest) bool {        return switch (self.scope) {            .default_stream, .device => self.stream == null and self.event == null,            .stream => self.stream != null and self.event == null,            .event => self.stream == null and self.event != null,        };    }};

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

zig
pub const SyncRequest = contract.SyncRequest;

Audit

Definitions2
Public names4
Members3
Version26.7.0
Revisiondaab053ee433