News for hackers. Stuff that matters.
Re:OneAPI – A cross-industry, open, standards-based unified ... by dljsjr on Monday March 01, 2021 @10:29AM (#26303634)
Something similar that has been around for ages and isn't controlled by Intel is MAGMA: https://bitbucket.org/icl/magma/src/master/
Re:OneAPI – A cross-industry, open, standards-based unified ... by jdc on Monday March 01, 2021 @12:12PM (#26305113)
MAGMA Users' Guide

Univ. of Tennessee, Knoxville

Univ. of California, Berkeley

Univ. of Colorado, Denver

Date

    October 2020
The goal of the MAGMA project is to create a new generation of linear algebra libraries that achieves the fastest possible time to an accurate solution on heterogeneous architectures, starting with current multicore + multi-GPU systems. To address the complex challenges stemming from these systems' heterogeneity, massive parallelism, and the gap between compute speed and CPU-GPU communication speed, MAGMA's research is based on the idea that optimal software solutions will themselves have to hybridize, combining the strengths of different algorithms within a single framework. Building on this idea, the goal is to design linear algebra algorithms and frameworks for hybrid multicore and multi-GPU systems that can enable applications to fully exploit the power that each of the hybrid components offers.

Designed to be similar to LAPACK in functionality, data storage, and interface, the MAGMA library allows scientists to easily port their existing software components from LAPACK to MAGMA, to take advantage of the new hybrid architectures. MAGMA users do not have to know CUDA in order to use the library.

There are two types of LAPACK-style interfaces. The first one, referred to as the CPU interface, takes the input and produces the result in the CPU's memory. The second, referred to as the GPU interface, takes the input and produces the result in the GPU's memory. In both cases, a hybrid CPU/GPU algorithm is used. Also included is MAGMA BLAS, a complementary to CUBLAS routines.

http://icl.utk.edu/projectsfiles/magma/doxygen/index.html

Re:OneAPI – A cross-industry, open, standards-based unified ... by oivey on Monday March 01, 2021 @01:57PM (#26306624)
Isn’t MAGMA more like a canned set of linear algebra routines rather than a general interface for executing arbitrary code on GPUs? That’s pretty different.
Re:OneAPI – A cross-industry, open, standards-based unified ... by dljsjr on Tuesday March 02, 2021 @10:06AM (#26316032)
Well at the end of the day they're both libraries for doing heterogeneous parallel compute (CPU + GPU w/ one API).

oneAPI might be more general but at the end of the day heterogeneous HPC converges on linear algebra. So it might have different ergonomics but it's very similar.