Improve Format tornado options
@@ -76,9 +76,11 @@ function print_version() {
}
function print_all_options() {
+ export COLOR_CYAN='\e[0;36m'
+ export COLOR_NC='\e[0m' # No Color
echo "TornadoVM options"
echo ""
- echo " Debugging Information: "
+ echo -e "$COLOR_CYAN Debugging Information: $COLOR_NC"
echo ""
echo -e "\tPrint all devices available : --devices "
echo -e "\tPrint generated kernel : -Dtornado.opencl.source.print=True "
@@ -86,18 +88,22 @@ function print_all_options() {
echo -e "\tEnable full debug information : -Dtornado.fullDebug=True "
echo -e "\tDump compiled graphs into IGV : -Dgraal.Dump=*:5 -Dgraal.PrintGraph=Network -Dgraal.PrintCFG=false "
echo ""
- echo " Define on which device the application should run (by default is 0): "
+ echo -e "$COLOR_CYAN Define on which device the application should run (by default is 0): $COLOR_NC"
+ echo ""
echo -e "\tChange OpenCL device to run the application: -D<taskScheduleName>.<taskName>=0:<deviceID> (e.g., -Ds0.t0.device=0:2)"
echo ""
- echo " Profiler: "
+ echo -e "$COLOR_CYAN Profiler: $COLOR_NC"
+ echo ""
echo -e "\tEnable online profiler : -Dtornado.profiler=True "
echo -e "\tSave profiler information : -Dtornado.profiler=True -Dtornado.profiler.save=True "
echo -e "\tEnable profiler and print at the end of the execution: -Dtornado.profiler=True -Dtornado.log.profiler=True "
echo ""
- echo " Device Heap: "
+ echo -e "$COLOR_CYAN Device Heap: $COLOR_NC"
+ echo ""
echo -e "\tResize the device heap (1GB by default): -Dtornado.heap.allocation=512MB"
echo ""
- echo " FPGA: "
+ echo -e "$COLOR_CYAN FPGA: $COLOR_NC"
+ echo ""
echo -e "\tLoad the FPGA configuration file: -Dtornado.fpga.conf.file=<file>"
echo -e "\tGet a precompiled binary : -Dtornado.precompiled.binary=<path> "
echo ""
