Skip to main content

Module server

Module server 

Source
Expand description

Compute server module.

Structs§

BufferBinding
A buffer binding represents a Handle that is bound to managed memory.
CaptureStatus
A read-only view of a device’s captures.
CommunicationId
An ID unique to any unordered combination of devices.
CopyDescriptor
A binding with shape and stride info for non-contiguous reading
CubeDim
The number of units across all 3 axis totalling to the number of working units in a cube.
DeviceCaptures
The graph captures under way on one device.
Handle
Server handle containing the memory handle.
KernelArguments
Arguments to execute a kernel.
MemoryLayout
An allocation with associated strides. Strides depend on tensor layout.
MemoryLayoutDescriptor
Descriptor for a new tensor allocation
MetadataBindingInfo
Binding of a set of scalars of the same type to execute a kernel.
ProfilingToken
Profiling identification so that the server can support recursive and overlapping profilings.
Reason
A reason for an error.
ServerUtilities
Contains many different types that are useful for server implementations and compute clients.
StreamCaptureState
Where a stream sits in the graph-capture lifecycle, and the only thing allowed to move it. Capture is a strict NoCapture → Prepare → Capture → NoCapture progression, driven by prepare, begin and end; each rejects an out-of-order call, so a capture can never start unprepared and two captures can never overlap on one stream.
TensorMapBinding
A tensor map used with TMA ops
TensorMapMeta
TensorMap metadata for the opaque proxy used in TMA copies
WeakBufferBinding
A BufferBinding that does not keep its memory reserved: what a record of a buffer holds when holding the buffer would change what its pool may reuse.

Enums§

CaptureEnd
What StreamCaptureState::end found when it closed the window: the caller’s own capture, or one belonging to a logical stream that never came back to close it.
Collective
A collective operation between the devices of one runtime.
CubeCount
Specifieds the number of cubes to be dispatched for a kernel.
CubeCountSelection
Defines how to select cube count based on the number of cubes required.
IoError
Error returned from create/read/write functions. Due to async execution not all errors are able to be caught, so some IO errors will still panic.
KernelResource
A resource passed to a kernel function
LaunchError
Kernel Launch Errors.
MemoryLayoutStrategy
Type of allocation, either contiguous or optimized (row-aligned when possible)
ProfileError
An error during profiling.
ReduceOperation
Different reduce operations.
ResourceLimitError
Resource limit errors.
ServerError
Error that can happen asynchronously while executing registered kernels.

Traits§

MemoryLayoutPolicy
Defines how the memory layout is determined.
Server
The compute server is responsible for handling resources and computations over resources.
ServerCommunication
Defines functions for optimized data transfer between servers, supporting custom communication mechanisms such as peer-to-peer communication or specialized implementations.
ServerStorage
The storage a server allocates from, and the native resources it hands out. Kept off Server so that trait is object-safe: a resource’s type is the backend’s own, and only a caller that names the backend can receive one.