BLAS-like Interface for Binary Tensor Contractions
<|reference_start|>BLAS-like Interface for Binary Tensor Contractions: In the world of linear algebra computation, a well-established standard exists called BLAS(Basic Linear Algebra Subprograms). This standard has been crucial for the development of software using linear algebra operations. Its benefits include portability with efficiency and mitigation of suboptimal re-implementations of linear algebra operations. Multilinear algebra is an extension of linear algebra in which the central objects are tensors, which are generalizations of vectors and matrices. Though tensor operations are becoming more common, they do not have a standard like BLAS. Such standardization would be beneficial and decrease the now-visible replication of work, as many libraries nowadays use their own implementations. This master thesis aims to work towards such a standard by discovering whether or not a BLAS-like interface is possible for the operation binary tensor contraction. To answer this, an interface has been developed in the programming language C together with an implementation and tested to see if it would be sufficient. The interface developed is:   xGETT(RANKA, EXTA, INCA, A, RANKB, EXTB, INCB, B, CONTS, CONTA, CONTB, PERM, INCC, C)   with the implementation and tests, it has been deemed sufficient as a BLAS-like interface for binary tensor contractions and possible to use in a BLAS-like standardization for tensor operations.<|reference_end|>
@article{hörnblad2024blas-like,
    title={BLAS-like Interface for Binary Tensor Contractions},
    author={Niklas H"ornblad},
    journal={arXiv preprint arXiv:2410.06770},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.06770},
    primaryClass={cs.MS}
}