nixpkgs/pkgs/development/libraries/tensile/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
856 B
Nix
Raw Normal View History

2022-10-25 11:44:37 +00:00
{ lib
, stdenv
, fetchFromGitHub
, rocmUpdateScript
2022-10-25 11:44:37 +00:00
, buildPythonPackage
, pyyaml
, msgpack
, pandas
}:
buildPythonPackage rec {
pname = "tensile";
version = "5.4.2";
2022-10-25 11:44:37 +00:00
src = fetchFromGitHub {
owner = "ROCmSoftwarePlatform";
repo = "Tensile";
rev = "rocm-${version}";
hash = "sha256-W6yr6mptfsiJSSzPCImgqI1EmsUv+l99SjqkoZsOjag=";
2022-10-25 11:44:37 +00:00
};
buildInputs = [
pyyaml
msgpack
pandas
];
passthru.updateScript = rocmUpdateScript {
name = pname;
owner = src.owner;
repo = src.repo;
};
2022-10-25 11:44:37 +00:00
meta = with lib; {
description = "GEMMs and tensor contractions";
homepage = "https://github.com/ROCmSoftwarePlatform/Tensile";
license = with licenses; [ mit ];
maintainers = teams.rocm.members;
2023-01-18 08:25:46 +00:00
platforms = platforms.linux;
broken = versions.minor version != versions.minor stdenv.cc.version;
2022-10-25 11:44:37 +00:00
};
}