Skip to content

Commit 04d8080

Browse files
committed
oneMKL version to versioninfo()
1 parent 719d893 commit 04d8080

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/oneAPI.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ using LLVM.Interop
1616
using Core: LLVMPtr
1717

1818
using SPIRV_LLVM_Translator_jll, SPIRV_Tools_jll
19+
using oneAPI_Support_jll
1920

2021
export oneL0
2122

src/utils.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function versioninfo(io::IO=stdout)
33
if Sys.islinux()
44
println(io, "Binary dependencies:")
55
for jll in [oneL0.NEO_jll, oneL0.NEO_jll.libigc_jll, oneL0.NEO_jll.gmmlib_jll,
6-
SPIRV_LLVM_Translator_jll, SPIRV_Tools_jll]
6+
SPIRV_LLVM_Translator_jll, SPIRV_Tools_jll, oneAPI_Support_jll]
77
name = string(jll)
88
print(io, "- $(name[1:end-4]): $(Base.pkgversion(jll))")
99
if jll.host_platform !== nothing
@@ -12,6 +12,10 @@ function versioninfo(io::IO=stdout)
1212
print(io, " (debug)")
1313
end
1414
end
15+
if jll === oneAPI_Support_jll
16+
ver = oneAPI.oneMKL.version()
17+
print(io, " (oneMKL v$ver)")
18+
end
1519
println(io)
1620
end
1721
println(io)

0 commit comments

Comments
 (0)