gpu-burn: unstabe-2021-04-29 -> unstable-2023-11-10

authored by Gaetan Lepage and committed by Someone 8d8e2141 19500d10

+6 -6
+6 -6
pkgs/applications/misc/gpu-burn/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, addOpenGLRunpath, cudatoolkit }: 2 2 3 - stdenv.mkDerivation rec { 3 + stdenv.mkDerivation { 4 4 pname = "gpu-burn"; 5 - version = "unstable-2021-04-29"; 5 + version = "unstable-2023-11-10"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "wilicc"; 9 9 repo = "gpu-burn"; 10 - rev = "1e9a84f4bec3b0835c00daace45d79ed6c488edb"; 11 - sha256 = "sha256-x+kta81Z08PsBgbf+fzRTXhNXUPBd5w8bST/T5nNiQA="; 10 + rev = "b99aedce3e020d2ca419832ee27b7f29dfa6373e"; 11 + sha256 = "sha256-cLO0GXvujZ+g64j+OY31n43MsVER3ljo8Qrt+EzSKjc="; 12 12 }; 13 13 14 14 postPatch = '' 15 15 substituteInPlace gpu_burn-drv.cpp \ 16 - --replace "const char *kernelFile = \"compare.ptx\";" \ 17 - "const char *kernelFile = \"$out/share/compare.ptx\";" 16 + --replace "#define COMPARE_KERNEL \"compare.ptx\"" \ 17 + "#define COMPARE_KERNEL \"$out/share/compare.ptx\"" 18 18 ''; 19 19 20 20 buildInputs = [ cudatoolkit ];