compute.CPUndarray#stridesPtr¶
Summary¶
compute.CPUndarray#stridesPtr returns the pointer to ndim packed byte strides in Wasm memory. Read them as signed 32-bit integers. The pointer is owned by the ndarray and access after destroy() throws. JavaScript views made with wgpu.driver.view(...) must be rebuilt after WebAssembly memory grows.
Syntax¶
Returns¶
WasmPtr - Pointer to the byte-stride table.