ITTPD: In-place Tensor Transposition with Permutation Decomposition on GPUs

Tensor transposition is a fundamental operation in tensor computations with broad applications.Most existing algorithms rely on out-of-place transposition, which duplicates the tensor in memory and repositions elements in their transposed order, resulting in high memory demands.On memory-constrained devices such as Graphics Processing Units (GPUs), this approach is often impractical.To address this challenge, we propose ITTPD (In-place Tensor Transposition with Permutation Decomposition), a GPU-based method designed to operate within strict memory constraints.Similarly to the previous work EITHOT, ITTPD utilizes permutation decomposition, breaking down complex permutations into simpler transposition primitives, and determining an execution sequence that fits within available memory.Comparing to existing work, ITTPD partitions the tensor into smaller sections for the tensor size larger than the memory limits and transposes each independently.The implementation is optimized for GPU memory access patterns, improving the execution efficiency for each primitive.Experimental results show that ITTPD significantly outperforms state-of-the-art out-ofplace GPU implementations, offering reduced memory overhead and faster execution times.Moreover, ITTPD can process tensors nearly twice as large as those feasible with out-of-place methods, making it a versatile solution for N-order tensor transpositions.

Authors

Institutions

Publication Details

Published
2025-02-19
DOI
https://doi.org/10.1145/3712031.3712033
Primary Topic
Algorithms and Data Compression
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ITTPD: In-place Tensor Transposition with Permutation Decomposition on GPUs

Che–Rung Lee, Kai-Jung Cheng
Algorithms and Data Compression
article

ITTPD: In-place Tensor Transposition with Permutation Decomposition on GPUs

Che–Rung Lee, Kai-Jung Cheng
article en

Abstract

Tensor transposition is a fundamental operation in tensor computations with broad applications.Most existing algorithms rely on out-of-place transposition, which duplicates the tensor in memory and repositions elements in their transposed order, resulting in high memory demands.On memory-constrained devices such as Graphics Processing Units (GPUs), this approach is often impractical.To address this challenge, we propose ITTPD (In-place Tensor Transposition with Permutation Decomposition), a GPU-based method designed to operate within strict memory constraints.Similarly to the previous work EITHOT, ITTPD utilizes permutation decomposition, breaking down complex permutations into simpler transposition primitives, and determining an execution sequence that fits within available memory.Comparing to existing work, ITTPD partitions the tensor into smaller sections for the tensor size larger than the memory limits and transposes each independently.The implementation is optimized for GPU memory access patterns, improving the execution efficiency for each primitive.Experimental results show that ITTPD significantly outperforms state-of-the-art out-ofplace GPU implementations, offering reduced memory overhead and faster execution times.Moreover, ITTPD can process tensors nearly twice as large as those feasible with out-of-place methods, making it a versatile solution for N-order tensor transpositions.

National Tsing Hua University (TW)
National Science and Technology Council
Openalex Percentile: Top 97%
Algorithms and Data Compression
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.