gpu.cpp 0.1.0
 
Loading...
Searching...
No Matches
Namespace List
Here is a list of all namespaces with brief descriptions:
[detail level 12]
 Ngpu
 CArrayRepresents a buffer of values on the GPU
 CBindingsRepresents an ordered collection of WGPUBuffers (wrapped as tensors, non-overlapping views, or arrays) for the purpose of binding them to a kernel operation to make them accessible to the GPU kernel
 CCallbackDataUsed for on-done callback data for asynchronous operations sduch as kernel launching
 CContextRepresents a GPU context, aggregates WebGPU API handles to interact with the GPU including the instance, adapter, device, and queue
 CCopyDataStaging buffer and callback data for copying data between the GPU and CPU
 CKernelRepresents handles + metadata for a reusable kernel on the GPU. The struct members can be divided into "consumed upon dispatch" (commandBuffer) and reusable ahead-of-time setup (all other members)
 CKernelCodeKernelCode is the representation of WGSL GPU code with template substitutions applied. It is a type around the code string with additional metadata for workgroup size and precision since they are specified in the WGSL code. Additionally, label and entryPoint are used by createKernel() to specify the label and entry point of the kernel
 CKernelPoolA pool of kernels to manage GPU resources. For simple use cases this is instantiated as a member in the Context struct although it's possible to have multiple resource pools of kernels in more complex scenarios
 CLoggerLogger struct for logging messages. stream: The stream to log to. buffer: A buffer to store the formatted message. level: The log level to log messages at
 CNoParamNoParam is a no-op type used to indicate that a kernel does not have any parameters
 CShapeRepresents the shape of a tensor
 CTensorRepresents a tensor on the GPU, which is a buffer of values with a shape
 CTensorPoolRepresents a pool of tensors to manage GPU resources. The pool is responsible for managing the lifetime of the tensors and freeing them when the pool is destroyed
 CTensorViewRepresents a non-owning view into a tensor specifying an offset and a subspan. This is useful for specifying a slice of a tensor on the GPU without copying the data