PyMAGMA: A Python']Python Interface for MAGMA

被引:0
|
作者
Halloy, Julian [1 ]
Qiu, Stephen [1 ]
Tomov, Stanimire [2 ]
Wong, Kwai [1 ]
机构
[1] Univ Tennessee, Knoxville, TN 37996 USA
[2] NVIDIA, Santa Clara, CA USA
基金
美国国家科学基金会;
关键词
SWIG; Interface; Wrapper; C plus; MAGMA; PyMAGMA; !text type='Python']Python[!/text;
D O I
10.1145/3626203.3670607
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The Matrix Algebra for GPU and Multicore Architectures (MAGMA) library is used for dense linear algebra computations on both CPUs and GPUs. MAGMA offers an extensive selection of linear algebra routines similar to those found in BLAS and LAPACK, but optimized and specifically designed for GPU acceleration. However, as MAGMA is a C library, C/C++ and MAGMA's C function interfaces can be challenging for non-computer scientists to learn and use. To address this problem, PyMAGMA provides a user-friendly Python interface. PyMAGMA employs C++ object-oriented programming methodologies to simplify the interfaces, particularly by reducing the number of arguments required for routines and eliminating the need for specifying the floating-point data format and arithmetic precision used. In particular, function overloading is employed to abstract routines and avoid precision specification. We show that the PyMAGMA library provides access to high-performance linear algebra using GPUs, while offering the typical benefits of Python, including ease of learning, versatility of use, extensive access to external libraries, large community and support, cross-platform compatibility, and capability for interactive work.
引用
收藏
页数:4
相关论文
共 50 条
  • [31] MILK: a Python']Python scripting interface to MAUD for automation of Rietveld analysis
    Savage, Daniel J.
    Lutterotti, Luca
    Biwer, Christopher M.
    McKerns, Michael
    Bolme, Cynthia
    Knezevic, Marko
    Vogel, Sven C.
    JOURNAL OF APPLIED CRYSTALLOGRAPHY, 2023, 56 : 1277 - 1286
  • [32] A Geant4-Python']Python Interface: Development and Its Applications
    Murakami, K.
    Yoshida, H.
    2006 IEEE NUCLEAR SCIENCE SYMPOSIUM CONFERENCE RECORD, VOL 1-6, 2006, : 98 - 100
  • [33] forager: a Python']Python package and web interface for modeling mental search
    Kumar, Abhilasha A.
    Apsel, Molly
    Zhang, Larry
    Xing, Nancy
    Jones, Michael N.
    BEHAVIOR RESEARCH METHODS, 2024, 56 (06) : 6332 - 6348
  • [34] ROTFINDER: A Python']Python Graphical User Interface to Perform Molecular Replacement
    Garcia-Granda, Santiago
    Roces, Laura
    ACTA CRYSTALLOGRAPHICA A-FOUNDATION AND ADVANCES, 2006, 62 : S247 - S247
  • [35] Bambi: A Simple Interface for Fitting Bayesian Linear Models in Python']Python
    Capretto, Tomas
    Piho, Camen
    Kumar, Ravin
    Westfall, Jacob
    Yarkoni, Tal
    Martin, Osvaldo A.
    JOURNAL OF STATISTICAL SOFTWARE, 2022, 103 (15): : 1 - 29
  • [36] PROLAPSE OF CLOACA IN A PYTHON']PYTHON (PYTHON']PYTHON-MOLURUS)
    GEORGE, PO
    JOSEPH, J
    INDIAN VETERINARY JOURNAL, 1989, 66 (07): : 648 - 649
  • [37] Cardiovascular actions of python']python bradykinin and substance P in the anesthetized python']python, Python']Python regius
    Wang, T
    Axelsson, M
    Jensen, J
    Conlon, JM
    AMERICAN JOURNAL OF PHYSIOLOGY-REGULATORY INTEGRATIVE AND COMPARATIVE PHYSIOLOGY, 2000, 279 (02) : R531 - R538
  • [38] Endocardial fibrosarcoma in a reticulated python']python (Python']Python reticularis)
    Gumber, Sanjeev
    Nevarez, Javier G.
    Cho, Doo-Youn
    JOURNAL OF VETERINARY DIAGNOSTIC INVESTIGATION, 2010, 22 (06) : 1013 - 1016
  • [39] An intuitive Python']Python interface for Bioconductor libraries demonstrates the utility of language translators
    Gautier, Laurent
    BMC BIOINFORMATICS, 2010, 11
  • [40] FracAbut: A python']python toolbox for computing fracture stratigraphy using interface impedance
    Soro, Paul Joseph Namongo
    Lamarche, Juliette
    Viseur, Sophie
    Richard, Pascal
    Messaadi, Fateh
    COMPUTERS & GEOSCIENCES, 2024, 190