tiny.gpu.SyncRequest
Defined in contract.
API (4)
Actions
Public operations.
Fields and members
Public fields and members.
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
| Definitions | 2 |
|---|---|
| Public names | 4 |
| Members | 3 |
| Version | 26.7.0 |
| Revision | daab053ee433 |