ab2b73ed7e
Change-Id: Ic6bce9bbad908bd210727f9981f7a3fc750a91ed
12 lines
363 B
CMake
12 lines
363 B
CMake
# Common Tests - Test independent of all platforms
|
|
set(TEST_SRC
|
|
hipOccupancyMaxActiveBlocksPerMultiprocessor.cc
|
|
hipOccupancyMaxPotentialBlockSize.cc
|
|
)
|
|
|
|
# Create shared lib of all tests
|
|
add_library(OccupancyTest SHARED EXCLUDE_FROM_ALL ${TEST_SRC})
|
|
|
|
# Add dependency on build_tests to build it on this custom target
|
|
add_dependencies(build_tests OccupancyTest)
|