mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-15 00:24:47 +00:00
![Madoura](/assets/img/avatar_default.png)
clang-ocl: deprecate rocmVersion and repoVersion hipcub: deprecate rocmVersion and repoVersion hipsparse: deprecate rocmVersion and repoVersion miopen: deprecate rocmVersion and repoVersion miopengemm: deprecate rocmVersion and repoVersion rccl: deprecate rocmVersion and repoVersion rocblas: deprecate rocmVersion and repoVersion rocfft: deprecate rocmVersion and repoVersion rocmlir: deprecate rocmVersion and repoVersion rocprim: deprecate rocmVersion and repoVersion rocrand: deprecate rocmVersion and repoVersion rocsparse: deprecate rocmVersion and repoVersion rocthrust: deprecate rocmVersion and repoVersion rocwmma: deprecate rocmVersion and repoVersion tensile: deprecate rocmVersion and repoVersion
43 lines
1.0 KiB
Nix
43 lines
1.0 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, writeScript
|
|
, buildPythonPackage
|
|
, pyyaml
|
|
, msgpack
|
|
, pandas
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tensile";
|
|
version = "5.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ROCmSoftwarePlatform";
|
|
repo = "Tensile";
|
|
rev = "rocm-${version}";
|
|
hash = "sha256-6A7REYdIw/ZmjrJh7B+wCXZMleh4bf04TFpRItPtctA=";
|
|
};
|
|
|
|
buildInputs = [
|
|
pyyaml
|
|
msgpack
|
|
pandas
|
|
];
|
|
|
|
passthru.updateScript = writeScript "update.sh" ''
|
|
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p curl jq common-updater-scripts
|
|
version="$(curl ''${GITHUB_TOKEN:+"-u \":$GITHUB_TOKEN\""} \
|
|
-sL "https://api.github.com/repos/ROCmSoftwarePlatform/Tensile/releases?per_page=1" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)"
|
|
update-source-version tensile "$version" --ignore-same-hash
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "GEMMs and tensor contractions";
|
|
homepage = "https://github.com/ROCmSoftwarePlatform/Tensile";
|
|
license = with licenses; [ mit ];
|
|
maintainers = teams.rocm.members;
|
|
};
|
|
}
|