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
37 lines
720 B
Nix
37 lines
720 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
ocl-icd,
|
|
opencl-clhpp,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "clpeak";
|
|
version = "1.1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "krrishnarraj";
|
|
repo = "clpeak";
|
|
tag = finalAttrs.version;
|
|
fetchSubmodules = true;
|
|
hash = "sha256-q4L7qoxE0udR6I8gXsc19IAB+wH7YRjgbIGOsdUXzgs=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [
|
|
ocl-icd
|
|
opencl-clhpp
|
|
];
|
|
|
|
meta = {
|
|
description = "Tool which profiles OpenCL devices to find their peak capacities";
|
|
homepage = "https://github.com/krrishnarraj/clpeak/";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ lib.maintainers.xokdvium ];
|
|
mainProgram = "clpeak";
|
|
};
|
|
})
|