examples/ is based on KasperskyLab/knp at 55470ed6 with local changes to the mnist-learn altai/blifat models, cuda-backend CMake and model_loader. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
290 B
CMake
10 lines
290 B
CMake
include_guard(GLOBAL)
|
|
|
|
|
|
find_program(MEMORYCHECK_COMMAND valgrind)
|
|
if (MEMORYCHECK_COMMAND)
|
|
message(STATUS "Found Valgrind: ${MEMORYCHECK_COMMAND}.")
|
|
set(MEMORYCHECK_COMMAND_OPTIONS "--leak-check=full --error-exitcode=1")
|
|
else()
|
|
message("Valgrind not found.")
|
|
endif()
|