forked from rarias/jungle
Add Rodinia OpenCL benchmark suite
This commit is contained in:
parent
0be0ebe359
commit
f6c4e32be2
@ -61,6 +61,7 @@ let
|
||||
prometheus-slurm-exporter = prev.callPackage ./pkgs/slurm-exporter/default.nix { };
|
||||
#pscom = callPackage ./pkgs/parastation/pscom.nix { }; # Unmaintaned
|
||||
#psmpi = callPackage ./pkgs/parastation/psmpi.nix { }; # Unmaintaned
|
||||
rodinia = callPackage ./pkgs/rodinia/default.nix { };
|
||||
slurm = import ./pkgs/slurm/default.nix { slurm = prev.slurm; };
|
||||
sonar = callPackage ./pkgs/sonar/default.nix { };
|
||||
stdenvClangOmpss2 = final.stdenv.override { cc = final.clangOmpss2; allowedRequisites = null; };
|
||||
|
||||
58
pkgs/rodinia/default.nix
Normal file
58
pkgs/rodinia/default.nix
Normal file
@ -0,0 +1,58 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchurl,
|
||||
ocl-icd,
|
||||
opencl-headers,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "rodinia-opencl";
|
||||
version = "3.1";
|
||||
src = fetchurl {
|
||||
url = "http://www.cs.virginia.edu/~skadron/lava/Rodinia/Packages/rodinia_3.1.tar.bz2";
|
||||
hash = "sha256-+uusfBHtj4/Pa/LX6FwwhvwtEfciBNbfwo3FsujyrP0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./rodinia-fixes.patch
|
||||
./rodinia-rm.patch
|
||||
];
|
||||
buildInputs = [
|
||||
opencl-headers
|
||||
ocl-icd
|
||||
];
|
||||
buildFlags = [
|
||||
"OPENCL"
|
||||
"--always-make"
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
mkdir -p bin/linux/{cuda,omp,opencl}
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share
|
||||
cp -r bin data opencl $out
|
||||
cp LICENSE README $out/share
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://rodinia.cs.virginia.edu/";
|
||||
description = "Test Suite of Compute-Intensive Applications with Accelerators";
|
||||
maintainers = with lib.maintainers.bsc; [ abonerib ];
|
||||
platforms = lib.platforms.linux;
|
||||
license = {
|
||||
deprecated = false;
|
||||
free = false;
|
||||
fullName = "Rodinia License";
|
||||
redistributable = true;
|
||||
shortName = "rodinia";
|
||||
url = "https://www.cs.virginia.edu/~skadron/lava/rodinia/license.htm";
|
||||
};
|
||||
};
|
||||
}
|
||||
1540
pkgs/rodinia/rodinia-fixes.patch
Normal file
1540
pkgs/rodinia/rodinia-fixes.patch
Normal file
File diff suppressed because it is too large
Load Diff
1880
pkgs/rodinia/rodinia-rm.patch
Normal file
1880
pkgs/rodinia/rodinia-rm.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user