tiny.gpu.MemoryLimits
Defined in contract.
API (7)
Fields and members
Public fields and members.
constant_memory_bytesglobal_byteshost_visible_device_memorymax_allocation_bytesmin_buffer_alignmentshared_memory_per_threadgroup_bytesunified_memory
Source
Source: lib/gpu/src/contract.zig:805
zig
pub const MemoryLimits = struct { global_bytes: ?u64 = null, max_allocation_bytes: ?u64 = null, shared_memory_per_threadgroup_bytes: ?u32 = null, constant_memory_bytes: ?u64 = null, min_buffer_alignment: u32 = 1, unified_memory: bool = false, host_visible_device_memory: bool = false,};Source: lib/gpu/src/root.zig:88
zig
pub const MemoryLimits = contract.MemoryLimits;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 7 |
| Version | 26.7.0 |
| Revision | daab053ee433 |