Skip to content

Native device isn't exposed to SYCL error for linear algebra call using 2.0.2 #494

@j-hayes

Description

@j-hayes

When I try to use the newest version of oneAPI.jl on ALCF's Aurora system (6*Intel(R) Data Center GPU Max 1550) : I get the following error when running any BLAS type operations.

This does not occur when using 1.X versions.

(@v1.10) pkg> add oneAPI@1
   Resolving package versions...
  No Changes to `~/.julia/environments/v1.10/Project.toml`
  No Changes to `~/.julia/environments/v1.10/Manifest.toml`

julia> using oneAPI

julia> a = oneAPI.zeros(Float64, 100,100)
b = a100×100 oneArray{Float64, 2, oneAPI.oneL0.DeviceBuffer}:
 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  …  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0
....


julia> b = a*a
100×100 oneArray{Float64, 2, oneAPI.oneL0.DeviceBuffer}:
 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  …  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  ....

(@v1.10) pkg> status
Status `~/.julia/environments/v1.10/Project.toml`
  [8f75cd03] oneAPI v2.0.2
Info Packages marked with ⌃ have new versions available and may be upgradable.

julia> using oneAPI

julia> a = oneAPI.zeros(Float64, 100,100)
100×100 oneArray{Float64, 2, oneAPI.oneL0.DeviceBuffer}:
 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  …  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  ....

julia> b = a*a
terminate called after throwing an instance of 'sycl::_V1::exception'
  what():  Native device isn't exposed to SYCL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions