Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
837 B
Nix
39 lines
837 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
rocmPackages,
|
|
cmake,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "rocm-bandwidth-test";
|
|
version = "6.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ROCm";
|
|
repo = "rocm_bandwidth_test";
|
|
rev = "rocm-${finalAttrs.version}";
|
|
hash = "sha256-dHyfYpRB13wUvim152nZ61McZOQ1zUZFx4dUo2vVqZM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [ rocmPackages.rocm-runtime ];
|
|
|
|
cmakeFlags = [
|
|
"-DROCT_INC_DIR=${rocmPackages.rocm-runtime}/include/libhsakmt"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Bandwidth test for AMD GPUs supported by ROCm";
|
|
homepage = "https://github.com/ROCm/rocm_bandwidth_test";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fangpen ];
|
|
teams = [ teams.rocm ];
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
})
|