Expand description
Reduction algorithms
Structs
- Set of mean_dim implementations available for autotune Autotune key is given by concatenating the closest upper power of 2 of dim to reduce, and product of others
- Generated kernel from wgsl file.
- Autotune key representative of reduce versions
- Generated kernel from wgsl file.
- Generated kernel from wgsl file.
- Generated kernel from wgsl file.
- Set of sum_dim implementations available for autotune Autotune key is given by concatenating the closest upper power of 2 of dim to reduce, and product of others
Functions
- Execute the argmax kernel.
- Execute the argmin kernel.
- Creates an empty output tensor with reduce output shape
- Execute the mean dim kernel.
- Executes autotune on mean_dim operation
- Execute the mean dim kernel leveraging shared memory Probably more efficient on tensors where the dimension to reduced is much larger than the others
- Sum all elements in the input buffer.
- Execute the sum dim kernel.
- Executes autotune on sum_dim operation
- Execute the sum dim kernel leveraging shared memory Probably more efficient on tensors where the dimension to reduced is much larger than the others