dd9b9b027f
- Reimplement tests for hipOccupancyMaxActiveBlocksPerMultiprocessor and hipOccupancyMaxPotentialBlockSize APIs - Add helper file occupancy_common.hh with parameterized templates - Expand all positive and negative tests to use the templates - Change section disable macros - Disable AMD specific test due to defect - Disable negative test using json file - Fix disabled files
13 lignes
449 B
CMake
13 lignes
449 B
CMake
# Common Tests - Test independent of all platforms
|
|
set(TEST_SRC
|
|
hipOccupancyMaxActiveBlocksPerMultiprocessor.cc
|
|
hipOccupancyMaxActiveBlocksPerMultiprocessor_old.cc
|
|
hipOccupancyMaxPotentialBlockSize.cc
|
|
hipOccupancyMaxPotentialBlockSize_old.cc
|
|
hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags.cc
|
|
)
|
|
|
|
hip_add_exe_to_target(NAME OccupancyTest
|
|
TEST_SRC ${TEST_SRC}
|
|
TEST_TARGET_NAME build_tests)
|