Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
CHIP_ERROR_ON_FAILING_DEVICE_MATH to ON by default
  • Loading branch information
pvelesko committed Aug 16, 2024
1 parent adad042 commit 20626a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ option(CHIP_USE_INTEL_USM "When enabled, cl_intel_unified_shared_memory extensio
option(CHIP_BUILD_HIPBLAS "When enabled, hipBLAS will be built and installed along chipStar" OFF)
option(CATCH2_DISCOVER_TESTS_COMPILE_TIME "Discover the tests at compile time" ON)
option(CHIP_SKIP_TESTS_WITH_DOUBLES "Skip tests where kernels use doubles." OFF)
option(CHIP_ERROR_ON_FAILING_DEVICE_MATH "Error on failing device math tests" OFF)
option(CHIP_ERROR_ON_FAILING_DEVICE_MATH "Error on failing device math tests" ON)

# This mitigation might be necessary on some systems with an older runtime.
# This mitigation makes memory resident (disable swapping) on the GPU
Expand Down Expand Up @@ -820,4 +820,4 @@ endif()
include(cmake/docker.cmake)

add_subdirectory(host_math_funcs)
target_link_libraries(CHIP PUBLIC ocml_host_math_funcs)
target_link_libraries(CHIP PUBLIC ocml_host_math_funcs)

0 comments on commit 20626a0

Please sign in to comment.