Comments (9)
The warning: ignoring debug info with an invalid version (0) in
error is because you're running from release-0.6
, which isn't supported, but shouldn't break anything. I don't have time to look into it right now, but you could building LLVM with assertions enabled.
from cuarrays.jl.
from cuarrays.jl.
That snippet gives me CUDA illegal memory access error,
https://gist.github.com/ilkerkesen/c921d41894b8667d8acc6e71803f04fe
from cuarrays.jl.
I think the answer to my second question is: https://llvm.org/docs/CMake.html
from cuarrays.jl.
Do build LLVM with assertions enabled you create Make.user
file with
FORCE_ASSERTIONS=1
LLVM_ASSERTIONS=1
And the you purge you need to reconfigure your LLVM build or just do a make -C deps distclean-llvm
0.6.0 should work fine.
from cuarrays.jl.
0.6.0 is supported, 0.6.1 can be buggy. 0.6.2 will be supported, but release-0.6
currently isn't (for version check reasons that do make sense). 0.7 is also supported, but requires a different version of LLVM.jl (tagged, so it should install automatically).
@denizyuret your code triggers an assertion in a Julia pass:
julia> @show summary(a[:,[2,4],2])
julia: julia-0.6/src/llvm-gcroot.cpp:796: void (anonymous namespace)::JuliaGCAllocator::allocate_frame(): Assertion `bb != NULL' failed.
I'll try to investigate next week. Might be caused by CUDAnative generating invalid IR (possibly only invalid with regard to the design of Julia's codegen and passes, undocumented requirements etc).
from cuarrays.jl.
But these don't come up in GPUArrays.jl's implementation, right? So just removing the CuArrays kernel should fix this?
from cuarrays.jl.
I can confirm that as @SimonDanisch suggested commenting out https://github.com/JuliaGPU/CuArrays.jl/blob/master/src/CuArrays.jl#L13, i.e. include("indexing.jl") stopped the error and now the test runs fine.
from cuarrays.jl.
Closed with 00276e3, see also JuliaGPU/GPUArrays.jl#90.
from cuarrays.jl.
Related Issues (20)
- similar(PermutedDimsArray(::CuArray)) isa Array HOT 1
- In CuArrays v2.0, GPU operation takes hours to run for the first time HOT 5
- sum!(y::CuVector, x::CuMatrix) throws InvalidIRError error
- Where can I find
- Where can I find All the using instructions of CuArrays? HOT 3
- add implicit float conversion to math functions HOT 4
- Multiplication between mixed types doesn't drop leading dimensions HOT 2
- Very slow 4D broadcast in 2.0.1 HOT 1
- Failed to detect installed CUDA version. HOT 1
- Sum function is slow HOT 8
- CURAND_STATUS_PREEXISTING_FAILURE with v2.0.1 but not v1.7.3 HOT 8
- Deadlock during memory free HOT 5
- Indexing CuArrays with Empty Ranges Errors HOT 5
- Sum, any, etc. with function is no longer implemented HOT 7
- Training Halts when Using CuArrarys HOT 6
- CUBLAS initialization HOT 1
- Performance issue with v2.1.0 compared with v1.7.3 HOT 4
- .+ CartesianIndices: InvalidIRError: compiling kernel broadcast HOT 1
- Package fails to load HOT 4
- Project.toml becoming stale (many notable package downgrades) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuarrays.jl.