Commit Graph

413 Commits

Author SHA1 Message Date
Robin Voetter
0099887252 rocmPackages.rocprofiler-register: remove rocm-runtime/clr dependency
These dependencies are no longer required. This breaks a circular dependency
between clr/rocm-runtime and rocprofiler-register, clearning the way for
enabling rocprofiler-register support for those libraries.
2026-04-05 00:53:27 +00:00
Luna Nova
374d7b4b48 rocmPackages: teach local update script to use finalAttrs and infer config 2026-03-27 10:54:08 -07:00
Luna Nova
4fb1de3dda rocmPackages: 7.2.0 -> 7.2.1
Release notes: https://rocm.docs.amd.com/en/latest/about/release-notes.html
2026-03-27 10:54:08 -07:00
Luna Nova
e858160426 rocmPackages.composable_kernel: fix gfx906 only failure (#495648) 2026-03-16 15:29:27 +00:00
Luna Nova
4f3546d64b rocmPackages.clr: add impureTest that runs openctl-cts test_basic
Replacement for AMD app samples opencl tests
2026-03-11 11:50:55 -07:00
Luna Nova
108d0d4ef6 rocmPackages.{clr,migraphx,miopen,rocm-comgr}: fix runtime hiprtc failures (#498395) 2026-03-11 17:48:31 +00:00
Luna Nova
109b7d54b2 rocmPackages.clr: drop unmaintained AMD opencl-example test
Will be replaced with an opencl-cts based basic conformance suite, AMD aren't
maintaining their amd-app-samples repo.
2026-03-10 09:26:55 -07:00
Luna Nova
c1c21ed522 rocmPackages.migraphx: add migraphx-driver impureTest using small resnet 2026-03-10 09:04:40 -07:00
Luna Nova
4781916d70 rocmPackages.rocm-comgr: bake fallback LLVM PATH to fix C++ stdlib search 2026-03-10 09:04:40 -07:00
Luna Nova
6df5d36748 rocmPackages.clr: add impureTest for C++ stdlib availability 2026-03-10 09:04:40 -07:00
Luna Nova
235ea64d88 rocmPackages.clr: apply own rpath workaround to all libs
Same issue applies to libhiprtc.so, seems safer to apply to all since it's
a recurring pattern in clr.
2026-03-10 08:59:50 -07:00
Luna Nova
e7cf3ae716 rocmPackages.miopen: fix hardcoded /opt/rocm path in comgr.cpp 2026-03-10 08:59:50 -07:00
Luna Nova
b9cfeaffa4 rocmPackages.miopen: add impureTests that verify conv/pool functionality 2026-03-10 08:59:49 -07:00
Luna Nova
02a13bdaac rocmPackages.rpp-opencl: drop as OpenCL variant is broken and unmaintained (#498102) 2026-03-09 14:06:27 +00:00
Luna Nova
0a7c4a9ffc rocmPackages.rocm-comgr: fix failure to find code object when xnack any variant should match (#497809) 2026-03-09 13:41:50 +00:00
Luna Nova
7c05000d9c rocmPackages.llvm: fix infinite loop in llvm legalize for AVX512 targets between v64i8 <-> v32i16 (#497818) 2026-03-09 13:41:39 +00:00
Luna Nova
f3ed5bfda5 rocmPackages.rpp-opencl: drop as OpenCL variant is broken and unmaintained 2026-03-09 04:51:22 -07:00
Luna Nova
b04e459b66 rocm-modules: regenerate release-attrPaths.json 2026-03-08 16:57:58 -07:00
Luna Nova
0922118ca9 rocmPackages.composable_kernel: fix gfx906 only failure when all ISAs are excluded for target 2026-03-08 13:00:56 -07:00
Luna Nova
66426604f1 rocmPackages.llvm: fix infinite loop in llvm legalize for VBMI targets between v64i8 <-> v32i16 2026-03-07 21:45:22 -08:00
Luna Nova
4448efbdd7 rocmPackages.rocm-comgr: fix failure to find code object when xnack any variant should match
Fixes No compatible code objects found for: gfx90a:sramecc+:xnack- in /nix/store/klazf7j7i5642cyjwi125fx4fdwx82f3-python3.13-torch-2.10.0-lib/lib/libtorch_hip.so, value of HIP_FORCE_SPIRV_CODEOBJECT: 0. Available code objects: [amdgcn-amd-amdhsa--gfx90a]
Failed to load fat binary for function '_ZN2at6native29vectorized_elementwise_kernelILi4ENS0_11FillFunctorIiEESt5arrayIPcLm1EEEEviT0_T1_' (error 200)
2026-03-07 19:57:47 -08:00
Luna Nova
2aa14c076a rocmPackages.hipblaslt.src: compress yaml in postFetch to meet output limit
Before: /nix/store/b1gvdqxccy2i377fg0cr83jkir2b8ngf-source   5.0 GiB
After: /nix/store/fnh40id9mxm58x2wkf81mr594cv5rzms-source 657.9 MiB
2026-03-07 06:50:53 -08:00
Luna Nova
c293992b35 galene-stt: drop (#484526) 2026-03-06 23:25:37 +00:00
Luna Nova
7eea507b05 rocmPackages.rocprof-trace-decoder: vendor PR to fix missing test dep 2026-03-05 11:59:48 -08:00
Gaetan Lepage
144e64eb7d rocmPackages.rocprof-trace-decoder: init at 0.1.7 2026-03-05 17:51:03 +00:00
Luna Nova
3bc0e6a4c5 rocmPackages: sha256 = -> hash = 2026-03-02 09:23:58 -08:00
Luna Nova
3376d1efb5 rocmPackages.miopen: add updateScript for DVC S3 kdb files
Files were moved to DVC in rocm-libraries PR 1594
2026-02-28 21:51:40 -08:00
Luna Nova
331070f87d rocmPackages.llvm: revert loop unrolling pessimisation
Reverting a patch that caused terrible performance for some
large langle mangle workloads.

See also rocm-systems issue 2865 and rocm llvm-project pull 1349
2026-02-28 21:51:40 -08:00
Luna Nova
691e492590 rocmPackages: 7.1.1 -> 7.2.0
Thanks @GZGavinZhao for providing continued support in the form of
the ISA compat patch set.

Co-Authored-By: Gavin Zhao <git@gzgz.dev>
2026-02-28 21:51:01 -08:00
Luna Nova
5f83595ff1 rocmPackages.llvm: use clang config file instead of deprecated GCC_INSTALL_PREFIX 2026-02-28 21:42:43 -08:00
Gaetan Lepage
438146900f python3Packages.dalle-mini: drop 2026-02-26 17:41:24 +00:00
Luna Nova
c51c95fad0 rocmPackages.clr: add $out/lib to libamdhip64.so's rpath
Working around clr internally dlopening itself by bare name without a path, which will fail if it's not on the global library search path.

Likely will introduce an upstream PR that avoids this unnecessary look up current so by its bare name dance.
2026-02-23 11:02:58 -08:00
Luna
eb89eebff0 amdsmi: expose as python module (#490590) 2026-02-16 17:53:50 +00:00
Wulfsta
e229fe7d08 amdsmi: expose as python module 2026-02-15 14:19:56 -05:00
Luna Nova
43262f1244 rocmPackages.rocm-runtime: backport CWSR/stack kernel discovery patch
Backport two patches from rocm-systems for gfx1151 (Strix Halo):

hsakmt: bump vgpr count for gfx1151
  We apply only the change that adds a GFX_VERSION_GFX1151 define but
  not the default vgpr change which causes crashes on old kernels.
  The vgpr change was later partially reverted upstream.

hsakmt: Expose and use CWSR and Control stack sizes
  Fixes potential mismatches between stack sizes configured in the
  amdgpu kernel module and userspace by relying on kernel value when
  available. Falls back to hardcoded size based on ISA if kernel is
  too old. For gfx1151, also prints a warning that KFD ABI 1.20+ is
  recommended. This allows new kernels to work with this runtime
  detection mechanism. Only gfx1151 warns loudly because only it has
  had the size updated in kernel.

Hoping to resolve MES hang errors on gfx1151.
2026-02-12 13:29:17 -08:00
quantenzitrone
67e867c4e4 onednn: fix homepage and rename from oneDNN
rename to lowercase to fit package naming conventions
2026-02-08 22:02:17 +01:00
André Silva
ccfe422e56 rocmPackages.migraphx: enable mlir 2026-02-07 20:38:20 +00:00
Sigmanificient
75179df597 rocmPackages.*: set pname 2026-02-07 00:02:39 +01:00
quantenzitrone
55280fa564 various: rename references from libX11 to libx11
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
Thomas Woolford
729fc9ab98 rocmPackages.miopen: strip dependency on prebuilt kernels for hardware that's not requested 2026-02-03 23:07:13 +10:30
Weijia Wang
cb0bdca8b6 galene-stt: drop 2026-01-27 22:51:14 +01:00
Luna
a2592becc3 rocm-modules: use clr.localGpuTargets everywhere (#482549) 2026-01-25 18:52:25 +00:00
Luna Nova
12c0d4c888 rocmPackages.amdsmi: fix error: redefinition of 'struct drm_color_ctm_3x4' 2026-01-24 16:16:44 -08:00
Luna Nova
6713c5e487 rocmPackages.rocm-runtime: apply fix for segfault when queue allocation fails
Found by @06kellyjac, possibly triggered by bug in linux-6.18.4

https://lore.kernel.org/linux-iommu/870872aa-28e9-412a-bac6-8020bf560e4f@amd.com/t/

Resolving this *will not fix the underlying issue*, but does transmute a
segfault into an actual error result.

ROCm error: out of memory
  current device: 0, in function stream at /build/source/ggml/src/ggml-hip/../ggml-cuda/common.cuh:1345
  hipStreamCreateWithFlags(&streams[device][stream], 0x01)
2026-01-24 16:06:54 -08:00
Luna Nova
b17c41cc49 rocmPackages.clr: enable gfx1150 (Ryzen AI series APU) by default 2026-01-24 16:06:54 -08:00
Luna Nova
fb969ce6a5 rocmPackages: 7.0.2 -> 7.1.1 2026-01-24 16:06:50 -08:00
Yuxuan Shui
ad60ff7937 rocm-modules: use clr.localGpuTargets everywhere 2026-01-22 05:53:36 +00:00
Fabián Heredia Montiel
09348bea1f rocmPackages.migraphx: fix abseil include
currently errors with:

    cd /build/source/build/src/tf && /nix/store/pbmzp0a639n7bgch2ayainja9bvhfri9-clr-7.0.2/bin/amdclang++  -isystem /build/source/build/src/tf -isystem /nix/store/kiqarh0s4z2kcd7p3sq049kcc85syww8-protobuf-32.1/inclu>
    In file included from /build/source/build/src/onnx/onnx.pb.cc:6:
    In file included from /build/source/build/src/onnx/onnx.pb.h:20:
    /nix/store/kiqarh0s4z2kcd7p3sq049kcc85syww8-protobuf-32.1/include/google/protobuf/io/coded_stream.h:101:10: fatal error: 'absl/base/optimization.h' file not found
      101 | #include "absl/base/optimization.h"
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    [  5%] Building CXX object src/targets/gpu/CMakeFiles/embed_lib_migraphx_kernels.dir/migraphx/kernels/copy.hpp.cpp.o
    cd /build/source/build/src/targets/gpu && /nix/store/pbmzp0a639n7bgch2ayainja9bvhfri9-clr-7.0.2/bin/amdclang++  -I/build/source/build/src/targets/gpu/embed/migraphx_kernels/include -w -isystem/nix/store/46my897r>
    In file included from /build/source/build/src/tf/graph.pb.cc:6:
    In file included from /build/source/build/src/tf/graph.pb.h:20:
    /nix/store/kiqarh0s4z2kcd7p3sq049kcc85syww8-protobuf-32.1/include/google/protobuf/io/coded_stream.h:101:10: fatal error: 'absl/base/optimization.h' file not found
      101 | #include "absl/base/optimization.h"
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
2026-01-19 20:38:29 -06:00
Fabián Heredia Montiel
dffb5721fe rocmPackages.llvm.compiler-rt: add patch for glibc >= 2.42 2026-01-18 20:26:17 -06:00
Fabián Heredia Montiel
cc5a9625e2 rocmPackages.llvm.llvm: remove already applied patch
currently build fails with:

       > applying patch /nix/store/ky4c0qd013w3x0qz3m5vxa1yqr36yja6-6ee49080e4bb43efe7ede10bed15935853bbd434.patch
       > patching file lib/Analysis/ConstantFolding.cpp
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 1 out of 1 hunk ignored -- saving rejects to file lib/Analysis/ConstantFolding.cpp.rej
       For full logs, run:
         nix log /nix/store/9rzpdwsa4mkp7rd8vhh4j1sjjfvslhhi-llvm-20.0.0-rocm.drv
2026-01-18 20:25:53 -06:00