Module unique

Module unique 

Source
Expand description

MATLAB-compatible unique builtin with GPU-aware semantics for RunMat.

The implementation mirrors MathWorks MATLAB behavioural details for sorted and stable orderings, row-wise uniqueness, and index outputs. GPU tensors are gathered to host memory today, but the builtin is registered as a sink so future providers can add device-side kernels without impacting callers.

Structs§

UniqueEvaluation

Constants§

FUSION_SPEC
GPU_SPEC

Functions§

evaluate
Evaluate unique once and expose all outputs to the caller.
unique_numeric_from_tensor