saiph: add manual distribution and nbl/nbg
This commit is contained in:
parent
ddef901e2f
commit
99532c9c60
@ -9,9 +9,13 @@
|
|||||||
, gitBranch ? "master"
|
, gitBranch ? "master"
|
||||||
, gitCommit ? null
|
, gitCommit ? null
|
||||||
, numComm ? null
|
, numComm ? null
|
||||||
, nbx ? null
|
, manualDist ? 0
|
||||||
, nby ? null
|
, nbgx ? null
|
||||||
, nbz ? null
|
, nbgy ? null
|
||||||
|
, nbgz ? null
|
||||||
|
, nblx ? null
|
||||||
|
, nbly ? null
|
||||||
|
, nblz ? null
|
||||||
, nsteps ? null
|
, nsteps ? null
|
||||||
, vectFlags ? null
|
, vectFlags ? null
|
||||||
, cachelineBytes ? 64
|
, cachelineBytes ? 64
|
||||||
@ -61,9 +65,13 @@ stdenv.mkDerivation rec {
|
|||||||
"apps"
|
"apps"
|
||||||
"APP=Heat3D_vect"
|
"APP=Heat3D_vect"
|
||||||
"ROW_ALIGNMENT=${toString cachelineBytes}"
|
"ROW_ALIGNMENT=${toString cachelineBytes}"
|
||||||
] ++ optional (nbx != null) "NB_X=${toString nbx}"
|
] ++ optional (manualDist != 0) "DIST_SET=${toString manualDist}"
|
||||||
++ optional (nby != null) "NB_Y=${toString nby}"
|
++ optional (manualDist != 0) "NBG_X=${toString nbgx}"
|
||||||
++ optional (nbz != null) "NB_Z=${toString nbz}"
|
++ optional (manualDist != 0) "NBG_Y=${toString nbgy}"
|
||||||
|
++ optional (manualDist != 0) "NBG_Z=${toString nbgz}"
|
||||||
|
++ optional (nblx != null) "NBL_X=${toString nblx}"
|
||||||
|
++ optional (nbly != null) "NBL_Y=${toString nbly}"
|
||||||
|
++ optional (nblz != null) "NBL_Z=${toString nblz}"
|
||||||
++ optional (nsteps != null) "NSTEPS=${toString nsteps}"
|
++ optional (nsteps != null) "NSTEPS=${toString nsteps}"
|
||||||
++ optional (numComm != null) "NUM_COMM=${toString numComm}"
|
++ optional (numComm != null) "NUM_COMM=${toString numComm}"
|
||||||
++ optional (vectFlags != null) "VECT_FLAGS=${toString vectFlags}"
|
++ optional (vectFlags != null) "VECT_FLAGS=${toString vectFlags}"
|
||||||
|
Loading…
Reference in New Issue
Block a user