Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDAnative: UndefVarError: AddrSpacePtr not defined on julia master #250

Closed
IanButterworth opened this issue Jun 25, 2020 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@IanButterworth
Copy link
Contributor

I'm sure this is expected, but just to track it.. Loading Flux on Julia post JuliaLang/julia#36059 isn't possible because of a CUDAnative error

ERROR: LoadError: LoadError: LoadError: UndefVarError: AddrSpacePtr not defined
Stacktrace:
 [1] getproperty(::Module, ::Symbol) at ./Base.jl:26
 [2] top-level scope at /Users/ian/.julia/packages/CUDAnative/e0IdN/src/device/cuda/wmma.jl:52
 [3] include at ./Base.jl:369 [inlined]
 [4] include(::String) at /Users/ian/.julia/packages/CUDAnative/e0IdN/src/CUDAnative.jl:1
 [5] top-level scope at /Users/ian/.julia/packages/CUDAnative/e0IdN/src/device/cuda.jl:15
 [6] include at ./Base.jl:369 [inlined]
 [7] include(::String) at /Users/ian/.julia/packages/CUDAnative/e0IdN/src/CUDAnative.jl:1
 [8] top-level scope at /Users/ian/.julia/packages/CUDAnative/e0IdN/src/CUDAnative.jl:75
 [9] include at ./Base.jl:369 [inlined]
 [10] include_package_for_output(::String, ::Array{String,1}, ::Array{String,1}, ::Array{String,1}, ::Array{Pair{Base.PkgId,UInt64},1}, ::Tuple{UInt64,UInt64}, ::String) at ./loading.jl:1219
 [11] top-level scope at none:1
 [12] eval at ./boot.jl:340 [inlined]
 [13] eval(::Expr) at ./client.jl:446
 [14] top-level scope at none:1
in expression starting at /Users/ian/.julia/packages/CUDAnative/e0IdN/src/device/cuda/wmma.jl:2
in expression starting at /Users/ian/.julia/packages/CUDAnative/e0IdN/src/device/cuda.jl:14
in expression starting at /Users/ian/.julia/packages/CUDAnative/e0IdN/src/CUDAnative.jl:1

Assuming it'll be fixed when Flux moves to CUDA.jl FluxML/Flux.jl#1204

@IanButterworth IanButterworth added the bug Something isn't working label Jun 25, 2020
@maleadt
Copy link
Member

maleadt commented Jun 25, 2020

Yes, Julia#master is not expected to work right now, but this change will also go into 1.5 so will need fixing. See #199 and maleadt/LLVM.jl#185

@maleadt
Copy link
Member

maleadt commented Jul 2, 2020

Fixed by #258

@maleadt maleadt closed this as completed Jul 2, 2020
@pmcvay
Copy link

pmcvay commented Aug 12, 2020

I tried to load CUDA (using CUDA) and got the same error ERROR: LoadError: LoadError: LoadError: UndefVarError: AddrSpacePtr not defined today. I am running the latest julia (v1.5.0) and added the latest CUDA (v0.1.0) on a linux machine. Is this still expected?

@maleadt
Copy link
Member

maleadt commented Aug 12, 2020

Julia 1.5 is not supported on CUDA 0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants