blob: a97479becb1fb4927ced88b3b25aed02f2a74ad3 [file] [log] [blame]
#!/bin/sh
RMEM=./main.native
export CAMOMILE_DIR=/usr/share/camomile
if [ $# -lt 2 ]; then
echo "Usage: $0 <binary> <num_threads>"
exit 1
fi
if ! [ -x ${RMEM} ]; then
echo "rmem binary (${RMEM}) not found"
exit 1
fi
${RMEM} -model flat -shallow_embedding true -eager true -eager_local_mem true -hash_prune true -interactive false -loop_limit 1 -elf_threads $2 $1 -isa_defs_path ./ -model forbid_tree_speculation -prune_restarts true -prune_discards true -priority_reduction true -v -allow_partial true