Skip to content

Commit

Permalink
update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahdhn committed Jan 7, 2025
1 parent 2c0dd57 commit 1d341da
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
4 changes: 3 additions & 1 deletion scripts/nsight.cmd
Original file line number Diff line number Diff line change
@@ -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%

Expand Down
10 changes: 10 additions & 0 deletions scripts/run.cmd
Original file line number Diff line number Diff line change
@@ -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
5 changes: 3 additions & 2 deletions scripts/sanatize.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1d341da

Please sign in to comment.