2022-10-25 11:44:37 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
2022-12-04 00:25:41 +00:00
|
|
|
, rocmUpdateScript
|
2022-10-25 11:44:37 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, pyyaml
|
|
|
|
, msgpack
|
|
|
|
, pandas
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tensile";
|
2023-01-15 16:04:53 +00:00
|
|
|
version = "5.4.2";
|
2022-10-25 11:44:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ROCmSoftwarePlatform";
|
|
|
|
repo = "Tensile";
|
2022-11-28 11:53:23 +00:00
|
|
|
rev = "rocm-${version}";
|
2022-12-04 00:26:46 +00:00
|
|
|
hash = "sha256-W6yr6mptfsiJSSzPCImgqI1EmsUv+l99SjqkoZsOjag=";
|
2022-10-25 11:44:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pyyaml
|
|
|
|
msgpack
|
|
|
|
pandas
|
|
|
|
];
|
|
|
|
|
2022-12-04 00:25:41 +00:00
|
|
|
passthru.updateScript = rocmUpdateScript {
|
|
|
|
name = pname;
|
|
|
|
owner = src.owner;
|
|
|
|
repo = src.repo;
|
|
|
|
};
|
2022-11-22 14:13:49 +00:00
|
|
|
|
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 ];
|
2022-11-24 01:24:39 +00:00
|
|
|
maintainers = teams.rocm.members;
|
2023-01-18 08:25:46 +00:00
|
|
|
platforms = platforms.linux;
|
2023-01-15 15:59:25 +00:00
|
|
|
broken = versions.minor version != versions.minor stdenv.cc.version;
|
2022-10-25 11:44:37 +00:00
|
|
|
};
|
|
|
|
}
|