Skip to main content

Module perm

Module perm 

Source
Expand description

Cache-efficient tensor permutation and transpose routines.

Structs§

BilateralFusionPlan
Validated result of fusing adjacent dimensions that are contiguous in both source and destination layouts.

Enums§

FusionPlanError
Failure while validating or constructing a bilateral fusion plan.

Constants§

BLOCK_MEMORY_SIZE
CACHE_LINE_SIZE

Functions§

copy_into
Copy elements from source to destination: dest[i] = src[i].
copy_into_col_major
Copy elements to a col-major destination.
plan_bilateral_fusion
Plan bilateral dimension fusion for source and destination layouts.