Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ggml-org/ggml
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5c4d9b66a292f8068ff78ef8f972df6c98fd86bb
Choose a base ref
..
head repository: ggml-org/ggml
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8397ae4d80b13a5c1275457d6b161ec4a2e598ff
Choose a head ref
Showing with 10 additions and 5 deletions.
  1. +10 −5 tests/CMakeLists.txt
15 changes: 10 additions & 5 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -413,8 +413,13 @@ target_link_libraries(${TEST_TARGET} PRIVATE ggml)
add_test(NAME ${TEST_TARGET} COMMAND $<TARGET_FILE:${TEST_TARGET}>)
set_property(TEST ${TEST_TARGET} PROPERTY ENVIRONMENT "LLVM_PROFILE_FILE=${TEST_TARGET}.profraw")

set(TEST_TARGET test-oom)
add_executable(${TEST_TARGET} ${TEST_TARGET}.cpp)
target_link_libraries(${TEST_TARGET} PRIVATE ggml)
add_test(NAME ${TEST_TARGET} COMMAND $<TARGET_FILE:${TEST_TARGET}>)
set_property(TEST ${TEST_TARGET} PROPERTY ENVIRONMENT "LLVM_PROFILE_FILE=${TEST_TARGET}.profraw")
#
# test-oom (atm only cuda)

if(GGML_CUDA)
set(TEST_TARGET test-oom)
add_executable(${TEST_TARGET} ${TEST_TARGET}.cpp)
target_link_libraries(${TEST_TARGET} PRIVATE ggml)
add_test(NAME ${TEST_TARGET} COMMAND $<TARGET_FILE:${TEST_TARGET}>)
set_property(TEST ${TEST_TARGET} PROPERTY ENVIRONMENT "LLVM_PROFILE_FILE=${TEST_TARGET}.profraw")
endif()