diff options
Diffstat (limited to 'amd/packages')
-rw-r--r-- | amd/packages/rocm-apps.scm | 47 |
1 files changed, 1 insertions, 46 deletions
diff --git a/amd/packages/rocm-apps.scm b/amd/packages/rocm-apps.scm index 702b1a1..895b365 100644 --- a/amd/packages/rocm-apps.scm +++ b/amd/packages/rocm-apps.scm @@ -34,8 +34,7 @@ #:use-module (amd packages rocm-libs) #:use-module (amd packages aocl-libs) #:use-module (amd packages rocm-hip) - - #:use-module (guix-hpc packages benchmark)) + ) (define %hpcg-hashes `( @@ -205,47 +204,3 @@ language and optimized for AMD's latest discrete GPUs.") aocl-blis roctracer)) -; osu benchmarks -(define (make-osubench-rocm openmpi-rocm hipamd rccl) - (package/inherit osu-micro-benchmarks - (name (string-append (package-name osu-micro-benchmarks) "-rocm")) - (version (string-append (package-version osu-micro-benchmarks) ".rocm" - (package-version hipamd))) - - (arguments (substitute-keyword-arguments (package-arguments - osu-micro-benchmarks) - ((#:configure-flags _) - #~(list (string-append "CC=" - #$openmpi-rocm "/bin/mpicc") - (string-append "CXX=" - #$openmpi-rocm "/bin/mpicxx") - (string-append "CFLAGS=" "-I" - #$(this-package-input "rccl") - "/include/rccl") - "--enable-rocm" - (string-append "--with-rocm=" - #$(this-package-input "hipamd")) - "--enable-rcclomb" - (string-append "--with-rccl=" - #$(this-package-input "rccl")))) - ((#:phases phases - '%standard-phases) - #~(modify-phases #$phases - (add-after 'unpack 'patch-configure - (lambda _ - (substitute* (list "configure" "configure.ac") - (("__HIP_PLATFORM_HCC__") - "__HIP_PLATFORM_AMD__")))))))) - ;; Needed due to modified configure.ac. - (native-inputs (list automake autoconf)) - (inputs (modify-inputs (package-inputs osu-micro-benchmarks) - (append hipamd) - (append rccl) - (replace "openmpi" openmpi-rocm))) - (synopsis "MPI microbenchmarks with ROCm support.") - (description - "A collection of host-based and device-based microbenchmarks for MPI -communication with ROCm support."))) - -(define-public osubench-rocm - (make-osubench-rocm openmpi-rocm hipamd rccl)) |