通过 Chapel 与 C++/MPI 互操作计算稀疏张量分解,无需中间 I/O
Computing Sparse Tensor Decompositions via Chapel and C++/MPI Interoperability without Intermediate I/O
AI总结:
本文扩展了 Chapel 与 C++ 间共享映射内存的方法,用于稀疏张量分解,无需中间 I/O,在多个真实数据集上验证了极低开销,并改善了内存使用与随机访问便利性。
摘要:
我们将一种已有的、在 Chapel 和 C++ 之间高效使用共享映射内存的方法(该方法原本适用于以 1-D 数组存储的图数据)扩展到使用 2-D 和 1-D 数组组合存储的稀疏张量数据。我们描述了具体的扩展,这些扩展使得名为 GentenMPI 的特定 C++ 张量分解工具能够使用共享映射内存中的张量数据。随后,我们在多个真实世界数据集上演示了我们的方法,并提供了计时结果,表明使用该方法仅产生极小的开销。最后,我们进一步扩展了工作,以改善内存使用,并在 Chapel 中为稀疏共享映射内存张量元素提供便捷的随机访问,同时仍能利用 C++ 中张量算法的高性能实现。
英文摘要:
We extend an existing approach for efficient use of shared mapped memory across Chapel and C++ for graph data stored as 1-D arrays to sparse tensor data stored using a combination of 2-D and 1-D arrays. We describe the specific extensions that provide use of shared mapped memory tensor data for a particular C++ tensor decomposition tool called GentenMPI. We then demonstrate our approach on several real-world datasets, providing timing results that illustrate minimal overhead incurred using this approach. Finally, we extend our work to improve memory usage and provide convenient random access to sparse shared mapped memory tensor elements in Chapel, while still being capable of leveraging high performance implementations of tensor algorithms in C++.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。