Skip to content

Commit

Permalink
change main memory size from 16 GB back to 8 GB
Browse files Browse the repository at this point in the history
  • Loading branch information
ywwu928 committed Apr 9, 2024
1 parent 2471df3 commit d1c6dfa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pando-drv/tests/drv.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ def __init__(self, pxn, pod, bank):
- 1

def MakeMainMemoryRangeClass(banks, size):
if (size > 16*1024*1024*1024):
raise ValueError("PXN main memory size cannot be more than 16GiB")
if (size > 8*1024*1024*1024):
raise ValueError("PXN main memory size cannot be more than 8GiB")

class MainMemoryRange(object):
# specs say upto 8TB
Expand Down
2 changes: 1 addition & 1 deletion scripts/preprun_mpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ usage: preprun -n <n> prog [program args]

harts=""
# 16GB Main memory size by default
main_memory_size="${main_memory_size-17179869184}"
main_memory_size="${main_memory_size-8589934592}"

while getopts "n:c:t:h" option; do
case ${option} in
Expand Down
4 changes: 2 additions & 2 deletions scripts/run-drv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ CORES="${CORES:-8}"
HARTS="${HARTS:-16}"
THREADD=$((${HOST_THREADS} * ${HOSTS} / ${PROCS}))
THREADS="${THREADS:-${THREADD}}"
# 16GB Main memory size by default
MAIN_MEMORY_SIZE="${MAIN_MEMORY_SIZE-17179869184}"
# 8GB Main memory size by default
MAIN_MEMORY_SIZE="${MAIN_MEMORY_SIZE-8589934592}"
LAUNCH_DIR="${LAUNCH_DIR:-$(realpath ${DRV_ROOT}/../)}"
LAUNCH_SCRIPT="${LAUNCH_SCRIPT:-${LAUNCH_DIR}/pando-drv/tests/PANDOHammerDrvX.py}"

Expand Down

0 comments on commit d1c6dfa

Please sign in to comment.