Skip to content

Commit

Permalink
Create benchmarks directory and move babelstream into it
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehmet Yusufoglu committed Jan 31, 2024
1 parent b161b2f commit d1769ae
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Expand Up @@ -35,6 +35,7 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# Options and Variants

option(alpaka_BUILD_EXAMPLES "Build the examples" OFF)
option(alpaka_BUILD_BENCHMARKS "Build the benchmarks" OFF)

# Enable the test infrastructure only if alpaka is the top-level project
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
Expand Down Expand Up @@ -148,6 +149,10 @@ if(alpaka_BUILD_EXAMPLES)
add_subdirectory("example/")
endif()

if(alpaka_BUILD_BENCHMARKS)
add_subdirectory("benchmarks/")
endif()

# Only build the tests if alpaka is the top-level project and BUILD_TESTING is ON
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)
add_subdirectory("test/")
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion example/CMakeLists.txt
Expand Up @@ -31,4 +31,3 @@ add_subdirectory("randomCells2D/")
add_subdirectory("reduce/")
add_subdirectory("tagSpecialization/")
add_subdirectory("vectorAdd/")
add_subdirectory("babelstream/")

0 comments on commit d1769ae

Please sign in to comment.