On Automatic Data Structure Selection and Code Generation for Sparse Computations
On Automatic Data Structure Selection and Code Generation for Sparse Computations
复制标题
稀疏计算的自动数据结构选择和代码生成
DOI:
--
复制
发表时间:
1993
期刊:
影响因子:
--
通讯作者:
H. Wijshoff
中科院分区:
文献类型:
--
作者:
Aart J. C. Bik;H. Wijshoff
Traditionally restructuring compilers were only able to apply program transformations in order to exploit certain characteristics of the target architecture. Adaptation of data structures was limited to e.g. linearization or transposing of arrays. However, as more complex data structures are required to exploit characteristics of the data operated on, current compiler support appears to be inappropriate. In this paper we present the implementation issues of a restructuring compiler that automatically converts programs operating on dense matrices into sparse code, i.e. after a suited data structure has been selected for every dense matrix that in fact is sparse, the original code is adapted to operate on these data structures. This simplifies the task of the programmer and, in general, enables the compiler to apply more optimizations.