SWDEV-273235 - hip change to build catch tests on Windows (#2472)

* SWDEV-273235 - hip change to build catch tests on Windows

Change-Id: I96de305694609c669cb81480f3572d987ce87d98

* SWDEV-1 - skip failing hipStreamPerThread_DeviceReset_1 test on Linux
This commit is contained in:
agunashe
2022-02-09 08:17:45 -08:00
committed by GitHub
parent ee16f95c77
commit ffe3f9cf81
7 changed files with 27 additions and 20 deletions
+2 -4
View File
@@ -21,7 +21,6 @@
add_subdirectory(memory)
add_subdirectory(deviceLib)
add_subdirectory(stream)
add_subdirectory(streamperthread)
add_subdirectory(event)
add_subdirectory(occupancy)
add_subdirectory(device)
@@ -29,6 +28,5 @@ add_subdirectory(rtc)
add_subdirectory(printf)
add_subdirectory(printfExe)
add_subdirectory(texture)
if(UNIX)
add_subdirectory(graph)
endif()
add_subdirectory(streamperthread)
add_subdirectory(graph)
@@ -6,8 +6,6 @@ set(TEST_SRC
hipStreamPerThread_DeviceReset.cc
)
# Create shared lib of all tests
add_library(StreamPerThreadTest SHARED EXCLUDE_FROM_ALL ${TEST_SRC})
# Add dependency on build_tests to build it on this custom target
add_dependencies(build_tests StreamPerThreadTest)
hip_add_exe_to_target(NAME StreamPerThreadTest
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME build_tests)