MCPcopy Create free account
hub / github.com/AnswerDotAI/gpu.cpp / Array

Class Array

gpu.hpp:38–42  ·  view source on GitHub ↗

* @brief Represents a buffer of values on the GPU. */

Source from the content-addressed store, hash-verified

36 * @brief Represents a buffer of values on the GPU.
37 */
38struct Array {
39 WGPUBuffer buffer;
40 WGPUBufferUsageFlags usage;
41 size_t size; // in bytes
42};
43
44/**
45 * @brief Represents the shape of a tensor.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected