diff --git a/src/oneAPI.jl b/src/oneAPI.jl index be0cc727..b4ee257b 100644 --- a/src/oneAPI.jl +++ b/src/oneAPI.jl @@ -11,6 +11,8 @@ using SpecialFunctions import Preferences +import KernelAbstractions: KernelAbstractions + using LLVM using LLVM.Interop using Core: LLVMPtr diff --git a/src/utils.jl b/src/utils.jl index b2d1e784..0516de03 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -26,6 +26,14 @@ function versioninfo(io::IO=stdout) println(io, "- LLVM: $(LLVM.version())") println(io) + println(io, "Julia packages:") + println(io, "- oneAPI.jl: $(Base.pkgversion(oneAPI))") + for name in [:GPUArrays, :GPUCompiler, :KernelAbstractions, :LLVM, :SPIRVIntrinsics] + mod = getfield(oneAPI, name) + println(io, "- $(name): $(Base.pkgversion(mod))") + end + println(io) + env = filter(var->startswith(var, "JULIA_ONEAPI"), keys(ENV)) if !isempty(env) println(io, "Environment:")