Files
rocm-systems/tests/hip_tests.txt
T
Tao Sang 6e972dd3bb Support performance tests
Support performance tests while direct tests commands keep unchanged.
To build performance tests, run "make build_perf".
To run all performance testis, run "make perf".
To run specific tests, for example, run
/usr/bin/ctest -C performance -R performance_tests/perfDispatch --verbose
To run individual test, for example, run
performance_tests/memory/hipPerfMemMallocCpyFree

Change-Id: I168c1b9ef1ec21b392d48648d0c71e8fbd37d57b
2020-05-06 14:06:07 -04:00

14 γραμμές
440 B
Plaintext

cmake_minimum_required(VERSION 2.8.3)
project(hip_tests)
# Setup
#set(HIP_PATH @CMAKE_INSTALL_PREFIX@)
#set(ENV{HIP_PATH} ${HIP_PATH})
set(HIP_SRC_PATH @hip_SOURCE_DIR@)
set(CMAKE_MODULE_PATH "${HIP_PATH}/cmake" ${CMAKE_MODULE_PATH})
include(${HIP_SRC_PATH}/tests/hit/HIT.cmake)
# Add tests
include_directories(${HIP_SRC_PATH}/tests/src)
hit_add_directory_recursive(${HIP_CTEST_CONFIG_DEFAULT} ${HIP_SRC_PATH}/tests/src "directed_tests")