Giter Club home page Giter Club logo

Comments (7)

Qfl3x avatar Qfl3x commented on June 12, 2024 1

This Pull request solved the issue. Thanks!

from amdgpu.jl.

jpsamaroo avatar jpsamaroo commented on June 12, 2024

Hmm there shouldn't be any test failures anymore. What version of AMDGPU.jl and Julia are you using?

from amdgpu.jl.

Qfl3x avatar Qfl3x commented on June 12, 2024

@jpsamaroo Julia 1.5.2 x64 binary and latest AMDGPU.jl from Julia repos.

from amdgpu.jl.

jpsamaroo avatar jpsamaroo commented on June 12, 2024

Hmm you have about the same config as I do (RX480 on 1.5 release). Can you show me your manifest (] st --manifest)? I think I've seen this happen with too-old versions of LLVM or GPUArrays.

from amdgpu.jl.

Qfl3x avatar Qfl3x commented on June 12, 2024

@jpsamaroo

st --manifest output:

  [621f4979] AbstractFFTs v0.5.0
  [79e6a3ab] Adapt v2.3.0
  [56f22d72] Artifacts v1.3.0
  [b99e7846] BinaryProvider v0.5.10
  [fa961155] CEnum v0.4.1
  [34da2185] Compat v3.23.0
  [e66e0078] CompilerSupportLibraries_jll v0.3.4+0
  [187b0558] ConstructionBase v1.0.0
  [864edb3b] DataStructures v0.18.8
  [7a1cc6ca] FFTW v1.2.4
  [f5851436] FFTW_jll v3.3.9+6
  [1a297f60] FillArrays v0.9.7
  [0c68f7d7] GPUArrays v5.2.1
  [61eb1bfa] GPUCompiler v0.8.3
  [1d5cc7b8] IntelOpenMP_jll v2018.0.3+0
  [692b3bcd] JLLWrappers v1.1.3
  [929cbde3] LLVM v3.3.0
  [856f044c] MKL_jll v2020.2.254+0
  [1914dd2f] MacroTools v0.5.6
  [efe28fd5] OpenSpecFun_jll v0.5.3+4
  [bac558e1] OrderedCollections v1.3.2
  [189a3867] Reexport v0.2.0
  [ae029012] Requires v1.1.0
  [6c6a2e73] Scratch v1.0.3
  [efcf1570] Setfield v0.7.0
  [276daf66] SpecialFunctions v0.10.3
  [a759f4b9] TimerOutputs v0.5.7
  [2a0f44e3] Base64
  [ade2ca70] Dates
  [8bb1440f] DelimitedFiles
  [8ba89e20] Distributed
  [9fa8497b] Future
  [b77e0a4c] InteractiveUtils
  [76f85450] LibGit2
  [8f399da3] Libdl
  [37e2e46d] LinearAlgebra
  [56ddb016] Logging
  [d6f4376e] Markdown
  [a63ad114] Mmap
  [44cfe95a] Pkg
  [de0858da] Printf
  [3fa0cd96] REPL
  [9a3f8284] Random
  [ea8e919c] SHA
  [9e88b42a] Serialization
  [1a1011a3] SharedArrays
  [6462fe0b] Sockets
  [2f01184e] SparseArrays
  [10745b16] Statistics
  [8dfed614] Test
  [cf7118a7] UUIDs
  [4ec0a83e] Unicode

Over on https://github.com/JuliaGPU/GPUArrays.jl They say latest release is 6.1.1 but I've ran update many times and I can't get it.

EDIT:I've checked .julia/registries/General/G/GPUArrays and it says that indeed the latest version is 6.1.1 then why won't it install?

EDIT2: Cleared ~/.julia and it still won't install latest version

EDIT: Seems AMDGPU is forcing GPUArrays version 5.1

AMDGPU.jl/Manifest.toml

Lines 63 to 67 in f681252

deps = ["AbstractFFTs", "Adapt", "LinearAlgebra", "Printf", "Random", "Serialization"]
git-tree-sha1 = "600f45500060894487832c2f00c203fe3e0cb264"
pinned = true
uuid = "0c68f7d7-f131-5f86-a1c3-88cf8149b2d7"
version = "5.1.0"

Another edit: I forced GPUArrays version 6.1.1 with a few tweaks https://github.com/Qfl3x/AMDGPU.jl and I lost some errors and gain some other errors ...

Test Summary:                                 | Pass  Error  Broken  Total
AMDGPU                                        |  892     20      71    983
  Core                                        |   20                    20
  HSA                                         |   32              1     33
  Codegen                                     |    3                     3
  Device Functions                            |  110             68    178
  ROCArray                                    |  726     20       2    748
    GPUArrays test suite                      |  726     20            746
      math                                    |    8                     8
      indexing scalar                         |  243      6            249
        errors and warnings                   |   12                    12
        getindex with Float32                 |   34                    34
        getindex with Float64                 |   34                    34
        getindex with Int32                   |   34                    34
        getindex with Int64                   |   34                    34
        getindex with Complex{Float32}        |   34                    34
        getindex with Complex{Float64}        |   34                    34
        setindex! with Float32                |    1      1              2
        setindex! with Float64                |    1      1              2
        setindex! with Int32                  |    1      1              2
        setindex! with Int64                  |    1      1              2
        setindex! with Complex{Float32}       |    1      1              2
        setindex! with Complex{Float64}       |    1      1              2
        issue #42 with Float32                |    3                     3
        issue #42 with Float64                |    3                     3
        issue #42 with Int32                  |    3                     3
        issue #42 with Int64                  |    3                     3
        issue #42 with Complex{Float32}       |    3                     3
        issue #42 with Complex{Float64}       |    3                     3
        get/setindex!                         |    3                     3
      input output                            |    5                     5
      value constructors                      |   36                    36
      indexing multidimensional               |   22     12             34
        sliced setindex                       |    1                     1
        sliced setindex                       |    1                     1
        sliced setindex                       |    1                     1
        sliced setindex                       |    1                     1
        sliced setindex                       |    1                     1
        sliced setindex                       |    1                     1
        sliced setindex, CPU source           |    1                     1
        sliced setindex, CPU source           |    1                     1
        sliced setindex, CPU source           |    1                     1
        sliced setindex, CPU source           |    1                     1
        sliced setindex, CPU source           |    1                     1
        sliced setindex, CPU source           |    1                     1
        empty array                           |    7      8             15
          1D                                  |    1      1              2
          2D with other index Colon()         |    2      2              4
          2D with other index 1:5             |    2      2              4
          2D with other index 5               |    2      2              4
        GPU source                            |    2      1              3
        CPU source                            |           3              3
        JuliaGPU/CUDA.jl#461: sliced setindex |    1                     1
      interface                               |    7                     7
      conversions                             |   72                    72
      constructors                            |  333      2            335
        constructors + similar                |  216                   216
        comparison against Array              |  117      2            119
    ROCm External Libraries                   |                   2      2

from amdgpu.jl.

jpsamaroo avatar jpsamaroo commented on June 12, 2024

Ok, the version of GPUArrays you're using is too new. Try reverting it to somewhere in the 5.0 or 5.1 set. There were some breaking-ish changes (JuliaGPU/GPUArrays.jl#322) that we haven't yet accounted for. If that works for you, I'll UB GPUArrays to the highest version that still works.

from amdgpu.jl.

Qfl3x avatar Qfl3x commented on June 12, 2024
Status `/tmp/jl_k536M0/Manifest.toml`
  [21141c5a] AMDGPU v0.2.1 `https://github.com/Qfl3x/AMDGPU.jl#master`
  [621f4979] AbstractFFTs v0.5.0
  [79e6a3ab] Adapt v2.3.0
  [56f22d72] Artifacts v1.3.0
  [b99e7846] BinaryProvider v0.5.10
  [fa961155] CEnum v0.4.1
  [34da2185] Compat v3.23.0
  [e66e0078] CompilerSupportLibraries_jll v0.3.4+0
  [187b0558] ConstructionBase v1.0.0
  [864edb3b] DataStructures v0.18.8
  [7a1cc6ca] FFTW v1.2.4
  [f5851436] FFTW_jll v3.3.9+6
  [1a297f60] FillArrays v0.10.0
  [0c68f7d7] GPUArrays v5.1.0 `https://github.com/Qfl3x/GPUArrays.jl#main`
  [61eb1bfa] GPUCompiler v0.8.3
  [1d5cc7b8] IntelOpenMP_jll v2018.0.3+0
  [692b3bcd] JLLWrappers v1.1.3
  [929cbde3] LLVM v3.3.0
  [856f044c] MKL_jll v2020.2.254+0
  [1914dd2f] MacroTools v0.5.6
  [efe28fd5] OpenSpecFun_jll v0.5.3+4
  [bac558e1] OrderedCollections v1.3.2
  [189a3867] Reexport v0.2.0
  [ae029012] Requires v1.1.0
  [6c6a2e73] Scratch v1.0.3
  [efcf1570] Setfield v0.7.0
  [276daf66] SpecialFunctions v0.10.3
  [a759f4b9] TimerOutputs v0.5.7
  [2a0f44e3] Base64
  [ade2ca70] Dates
  [8bb1440f] DelimitedFiles
  [8ba89e20] Distributed
  [9fa8497b] Future
  [b77e0a4c] InteractiveUtils
  [76f85450] LibGit2
  [8f399da3] Libdl
  [37e2e46d] LinearAlgebra
  [56ddb016] Logging
  [d6f4376e] Markdown
  [a63ad114] Mmap
  [44cfe95a] Pkg
  [de0858da] Printf
  [3fa0cd96] REPL
  [9a3f8284] Random
  [ea8e919c] SHA
  [9e88b42a] Serialization
  [1a1011a3] SharedArrays
  [6462fe0b] Sockets
  [2f01184e] SparseArrays
  [10745b16] Statistics
  [8dfed614] Test
  [cf7118a7] UUIDs
  [4ec0a83e] Unicode
[ Info: Testing using device gfx803 with ISA gfx803
Test Summary: | Pass  Broken  Total
AMDGPU        |  713      71    784
    Testing AMDGPU tests passed 

GPUArrays v5.1.0

I couldn't force it to use v5.1.0 in any other way other than cloning the tarball and making a new repo. Something is fishy. However, we now know that v5.1.0 works.

from amdgpu.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.