menu
DeviceMemory
import { DeviceMemory } from "destack:compute";
Compute device memory snapshot.
1export struct DeviceMemory {2 total: usize;3 available: usize;4 unified: boolean;5}Members
total: usizeTotal memory in bytes when the backend exposes it.
available: usizeAvailable memory in bytes when the backend exposes it.
unified: booleanWhether host and device memory are physically unified.