mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
43 lines
856 B
Nix
43 lines
856 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, rocmUpdateScript
|
|
, buildPythonPackage
|
|
, pyyaml
|
|
, msgpack
|
|
, pandas
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tensile";
|
|
version = "5.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ROCmSoftwarePlatform";
|
|
repo = "Tensile";
|
|
rev = "rocm-${version}";
|
|
hash = "sha256-W6yr6mptfsiJSSzPCImgqI1EmsUv+l99SjqkoZsOjag=";
|
|
};
|
|
|
|
buildInputs = [
|
|
pyyaml
|
|
msgpack
|
|
pandas
|
|
];
|
|
|
|
passthru.updateScript = rocmUpdateScript {
|
|
name = pname;
|
|
owner = src.owner;
|
|
repo = src.repo;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "GEMMs and tensor contractions";
|
|
homepage = "https://github.com/ROCmSoftwarePlatform/Tensile";
|
|
license = with licenses; [ mit ];
|
|
maintainers = teams.rocm.members;
|
|
platforms = platforms.linux;
|
|
broken = versions.minor version != versions.minor stdenv.cc.version;
|
|
};
|
|
}
|