Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
sync main
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyu-intel committed Jun 4, 2024
1 parent 0dcacb1 commit ecca7b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
"description": "x64 SYCL",
"inherits": "x64-debug-sycl",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
"CMAKE_BUILD_TYPE": "Release"
}
}
]
Expand Down
3 changes: 3 additions & 0 deletions bestla/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ endif(UT_BUILD)
if(BTLA_UT_BENCHMARK)
file(GLOB ut_headers ${PROJECT_NAME}/ut/*.h)
include_directories(${PROJECT_NAME})
if(NOT BTLA_SYCL)
list(REMOVE_ITEM benchmark_srcs ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}/ut/sycl_benchmark.cpp)
endif()
add_executable(${PROJECT_NAME}_benchmark ${benchmark_srcs} ${headers} ${ut_headers})
if(BTLA_UT_OPENMP)
include(FindOpenMP)
Expand Down

0 comments on commit ecca7b9

Please sign in to comment.