Docs / jax4j-core / com.nablatensor.jax4j.tensor.spi
final class
GpuBuffer
Native storage with deterministic and Cleaner-backed release through its owning runtime.
Constructors
GpuBuffer(GpuRuntime runtime, long buffer, long memory, Shape shape, DType dtype, Device device)
Fields
final long buffer, memory
final GpuRuntime runtime
Methods
Shape shape()
DType dtype()
Device device()
int count()
void requireOpen()
void release()