面向二元张量缩并的类BLAS接口
BLAS-like Interface for Binary Tensor Contractions
AI总结:
本研究针对张量运算缺乏类BLAS标准的问题,设计实现了C语言下的二元张量缩并类BLAS接口xGETT,经测试验证其可行性,为张量运算标准化提供基础。
摘要:
在线性代数计算领域,存在一个成熟的标准BLAS(基本线性代数子程序)。该标准对基于线性代数运算的软件开发至关重要,其优势包括兼顾可移植性与效率,以及避免线性代数运算的次优重复实现。多线性代数是线性代数的延伸,其核心研究对象是张量——向量和矩阵的推广形式。尽管张量运算的应用日益广泛,但它们尚无类似BLAS的标准。此类标准化将带来益处,减少目前可见的重复工作——如今许多库都采用各自的实现。本硕士论文旨在推进此类标准化,探究类BLAS接口对于二元张量缩并运算是否可行。为解答这一问题,作者用C语言开发了一套接口及对应实现,并通过测试验证其是否满足需求。所开发的接口为:xGETT(RANKA, EXTA, INCA, A, RANKB, EXTB, INCB, B, CONTS, CONTA, CONTB, PERM, INCC, C)。结合实现与测试结果,该接口被判定足以作为二元张量缩并的类BLAS接口,可应用于张量运算的类BLAS标准化工作。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。