saiph: add cacheline compilation parameter

This commit is contained in:
Sandra
2021-02-19 11:10:44 +01:00
committed by Rodrigo Arias Mallo
parent 02a62c18ac
commit 37e11c749f
2 changed files with 8 additions and 5 deletions

View File

@@ -13,7 +13,7 @@
, nby ? null
, nbz ? null
, vectFlags ? null
#, breakpointHook
, cachelineBytes ? 64
}:
with stdenv.lib;
@@ -59,6 +59,7 @@ stdenv.mkDerivation rec {
"-f" "Makefile.${cc.CC}"
"apps"
"APP=Heat3D_vect"
"ROW_ALIGNMENT=${toString cachelineBytes}"
] ++ optional (nbx != null) "NB_X=${toString nbx}"
++ optional (nby != null) "NB_Y=${toString nby}"
++ optional (nbz != null) "NB_Z=${toString nbz}"