Openblas backend implementation#722
Open
CDAC-SSDG wants to merge 2 commits intouxlfoundation:developfrom
Open
Conversation
Contributor
|
Thank you much for your contribution, @CDAC-SSDG !
|
mkrainiuk
reviewed
Apr 14, 2026
| "../../compiler/latest/linux/compiler/lib/${MKL_ARCH}" | ||
| "../../compiler/latest/linux/compiler/lib/${MKL_ARCH}_lin" | ||
| "../../compiler/latest/windows/compiler/lib/${MKL_ARCH}" | ||
| "../../compiler/latest/windows/compiler/lib/${MKL_ARCH}_win" |
Contributor
There was a problem hiding this comment.
Thank you for the changes!
Looks like this branch CDAC-Bengaluru:openblas-backend-implementation is not synced with the latest develop branch from the main repo, so this PR contains reverted changes for some recent changes in the develop, like this change is reverting #719.
Could you please rebase your branch on the lates develop so these reverted changes will go away?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds support for using OpenBLAS as a new backend within oneMath for BLAS operations.
The implementation follows the design proposed in RFC#707 and integrates OpenBLAS as a CPU backend through the existing backend abstraction layer. BLAS operations are mapped to the OpenBLAS interface while preserving the oneMath API and execution model.
The implementation provides coverage across Level 1, Level 2, and Level 3 BLAS routines, along with support for batch operations and relevant BLAS extensions where applicable. Functionality is aligned with OpenBLAS capabilities.
Build system integration has been added to enable selection of the OpenBLAS backend through CMake configuration. The implementation has been validated with both DPC++ and AdaptiveCpp toolchains.
Documentation has been added describing how to configure and build the project with OpenBLAS support:
docs/building_the_project_with_openblas.rstMotivation and Context
This change provides an additional backend option for BLAS operations using OpenBLAS, allowing users to build and run oneMath in environments where other backends may not be available or desired. It improves flexibility in backend selection while remaining consistent with the modular backend design of oneMath.
Testing
The implementation has been built and tested, test logs are attached with this PR.
OpenBlas with DPC++ unit tests log.txt