Loading pkgs/by-name/sp/spla/package.nix +9 −3 Original line number Diff line number Diff line Loading @@ -31,6 +31,8 @@ stdenv.mkDerivation rec { hash = "sha256-71QpwTsRogH+6Bik9DKwezl9SqwoLxQt4SZ7zw5X6DE="; }; outputs = [ "out" "dev" ]; postPatch = '' substituteInPlace src/gpu_util/gpu_blas_api.hpp \ --replace '#include <rocblas.h>' '#include <rocblas/rocblas.h>' Loading @@ -43,6 +45,7 @@ stdenv.mkDerivation rec { buildInputs = [ blas mpi ] ++ lib.optional (gpuBackend == "cuda") cudaPackages.cudatoolkit ++ lib.optionals (gpuBackend == "rocm") [ Loading @@ -51,8 +54,6 @@ stdenv.mkDerivation rec { ] ++ lib.optional stdenv.isDarwin llvmPackages.openmp ; propagatedBuildInputs = [ mpi ]; cmakeFlags = [ "-DSPLA_OMP=ON" "-DSPLA_FORTRAN=ON" Loading @@ -65,10 +66,15 @@ stdenv.mkDerivation rec { ++ lib.optional (gpuBackend == "rocm") [ "-DSPLA_GPU_BACKEND=ROCM" ] ; preFixup = '' substituteInPlace $out/lib/cmake/SPLA/SPLASharedTargets-release.cmake \ --replace-fail "\''${_IMPORT_PREFIX}" "$out" ''; meta = with lib; { description = "Specialized Parallel Linear Algebra, providing distributed GEMM functionality for specific matrix distributions with optional GPU acceleration"; homepage = "https://github.com/eth-cscs/spla"; license = licenses.bsd3; maintainers = [ maintainers.sheepforce ];# maintainers = [ maintainers.sheepforce ]; }; } Loading
pkgs/by-name/sp/spla/package.nix +9 −3 Original line number Diff line number Diff line Loading @@ -31,6 +31,8 @@ stdenv.mkDerivation rec { hash = "sha256-71QpwTsRogH+6Bik9DKwezl9SqwoLxQt4SZ7zw5X6DE="; }; outputs = [ "out" "dev" ]; postPatch = '' substituteInPlace src/gpu_util/gpu_blas_api.hpp \ --replace '#include <rocblas.h>' '#include <rocblas/rocblas.h>' Loading @@ -43,6 +45,7 @@ stdenv.mkDerivation rec { buildInputs = [ blas mpi ] ++ lib.optional (gpuBackend == "cuda") cudaPackages.cudatoolkit ++ lib.optionals (gpuBackend == "rocm") [ Loading @@ -51,8 +54,6 @@ stdenv.mkDerivation rec { ] ++ lib.optional stdenv.isDarwin llvmPackages.openmp ; propagatedBuildInputs = [ mpi ]; cmakeFlags = [ "-DSPLA_OMP=ON" "-DSPLA_FORTRAN=ON" Loading @@ -65,10 +66,15 @@ stdenv.mkDerivation rec { ++ lib.optional (gpuBackend == "rocm") [ "-DSPLA_GPU_BACKEND=ROCM" ] ; preFixup = '' substituteInPlace $out/lib/cmake/SPLA/SPLASharedTargets-release.cmake \ --replace-fail "\''${_IMPORT_PREFIX}" "$out" ''; meta = with lib; { description = "Specialized Parallel Linear Algebra, providing distributed GEMM functionality for specific matrix distributions with optional GPU acceleration"; homepage = "https://github.com/eth-cscs/spla"; license = licenses.bsd3; maintainers = [ maintainers.sheepforce ];# maintainers = [ maintainers.sheepforce ]; }; }