Implementing a high performance tensor library
暂无分享,去创建一个
Template methods have opened up a new way of building C++ libraries. These methods allow the libraries to combine the seemingly contradictory qualities of ease of use and uncompromising efficiency. However, libraries that use these methods are notoriously difficult to develop. This article examines the benefits reaped and the difficulties encountered in using these methods to create a friendly, high performance, tensor library. We find that template methods mostly deliver on this promise, though requiring moderate compromises in usability and efficiency.
[1] Todd L. Veldhuizen,et al. Expression templates , 1996 .
[2] Todd L. Veldhuizen,et al. Using C++ template metaprograms , 1996 .
[3] Bjarne Stroustrup,et al. C++ : programovací jazyk : The C++ programming language (Orig.) , 1997 .