Skip to content

Commit a5fb3f8

Browse files
committed
Add blis32_jll
1 parent 5a2f608 commit a5fb3f8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ version = "0.1.1"
55

66
[deps]
77
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
8+
blis32_jll = "e47b3055-b30e-52b1-9cd4-aea7f6c39f40"
89
blis_jll = "6136c539-28a5-5bf0-87cc-b183200dce32"
910

1011
[compat]
1112
blis_jll = "1.0"
12-
julia = "1.8"
13+
blis32_jll = "1.0"
14+
julia = "1.9"
1315

1416
[extras]
1517
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"

src/BLISBLAS.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module BLISBLAS
22

3+
using blis32_jll
34
using blis_jll
45
using LinearAlgebra
56

@@ -16,6 +17,11 @@ function set_num_threads(nthreads)
1617
end
1718

1819
function __init__()
20+
if blis32_jll.is_available()
21+
BLAS.lbt_forward(blis32, clear=false)
22+
else
23+
@warn("blis32_jll artifact doesn't seem to be available for your platform!")
24+
end
1925
if blis_jll.is_available()
2026
BLAS.lbt_forward(blis, clear=false)
2127
else

0 commit comments

Comments
 (0)