Install & Compatibility
Where this runs
tested against v2026.0.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
build_error
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 22.7s · import 0.000s · 19MB
17MB installed
● package 17MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
blas
✓ from onemkl_sycl_blas import blas
✗ from onemkl._blas import blas
Basic GEMM operation using oneMKL SYCL BLAS. Note: matrices must be in column-major order.
import dpctl
import numpy as np
from onemkl._blas import blas, ColumnMajor
# Create a SYCL queue (use default GPU)
queue = dpctl.SyclQueue()
# Prepare matrices (ColumnMajor order required!)
m, n, k = 4, 4, 4
alpha = np.float64(1.0)
beta = np.float64(0.0)
A = np.random.rand(m, k).astype(np.float64)
B = np.random.rand(k, n).astype(np.float64)
C = np.zeros((m, n), dtype=np.float64)
# Compute C = alpha * A * B + beta * C
blas.gemm(queue, ColumnMajor, 'N', 'N', m, n, k, alpha, A, m, B, k, beta, C, m)
print(C)
Upgrade
Version history
2026.0.0latest on PyPI · released Apr 24, 2026
Audit
Dependencies
dpctlrequiredSYCL device management and queue creation
numpyrequiredArray inputs/outputs