From 1d341da31b65806cf73b5417ee0f759395c4a0f4 Mon Sep 17 00:00:00 2001 From: ahmed Date: Tue, 7 Jan 2025 12:57:24 -0500 Subject: [PATCH] update scripts --- scripts/nsight.cmd | 4 +++- scripts/run.cmd | 10 ++++++++++ scripts/sanatize.cmd | 5 +++-- 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 scripts/run.cmd diff --git a/scripts/nsight.cmd b/scripts/nsight.cmd index f4e820d9..cf2c2fe2 100644 --- a/scripts/nsight.cmd +++ b/scripts/nsight.cmd @@ -1,6 +1,8 @@ @echo off set REPORT_NAME=report -set EXE=..\build\bin\Release\Remesh.exe -nx 800 -ny 800 +::set EXE=..\build\bin\Release\Remesh.exe -nx 330 -ny 330 +::set EXE=..\build\bin\Release\SECPriority.exe -input ..\input\rocker-arm.obj +set EXE=..\build\bin\Release\RXMesh_test.exe --gtest_filter=RXMeshStatic.Queries -input ..\input\Nefertiti.obj -num_run 10 nsys profile -t cuda,nvtx --force-overwrite true -o %REPORT_NAME% %EXE% diff --git a/scripts/run.cmd b/scripts/run.cmd new file mode 100644 index 00000000..13d3d7cc --- /dev/null +++ b/scripts/run.cmd @@ -0,0 +1,10 @@ +@echo off +setlocal enabledelayedexpansion + +for /l %%i in (1,1,50) do ( + echo ***************************************** + echo ********* Running iteration %%i ********* + echo ***************************************** + call ..\build\bin\Debug\Remesh.exe -nx 330 -ny 330 +) +endlocal \ No newline at end of file diff --git a/scripts/sanatize.cmd b/scripts/sanatize.cmd index c7600e03..c254e55c 100644 --- a/scripts/sanatize.cmd +++ b/scripts/sanatize.cmd @@ -6,10 +6,11 @@ setlocal enabledelayedexpansion -for /l %%i in (1,1,20) do ( +for /l %%i in (1,1,100) do ( echo ***************************************** echo ********* Running iteration %%i ********* echo ***************************************** - call compute-sanitizer --log-file sanitize_memcheck_%%i.log --tool memcheck --check-cache-control ..\build\bin\Release\Remesh.exe -nx 30 -ny 50000 + call compute-sanitizer --log-file sanitize_memcheck_%%i.log --tool memcheck --check-cache-control ..\build\bin\Debug\Remesh.exe -nx 330 -ny 330 + call compute-sanitizer --log-file sanitize_racecheck_%%i.log --tool racecheck ..\build\bin\Debug\Remesh.exe -nx 330 -ny 330 ) endlocal \ No newline at end of file