f699e87bd2
http://ontrack-internal.amd.com/browse/SWDEV-230423 1. Moving stress folder from hip/test/src to hip/test. 2. Adding Stream stress tests. These stress tests create multiple streams and launches kernel on them in multiple combinations for 100000 iterations. These tests will test the stability of streams created using hipStreamCreate, hipStreamCreateWithPriority and hipStreamCreateWithFlags. 3. Adding printf stress tests using simple kernels. 4. Adding printf stress tests using a complex kernel. Change-Id: Idcd26707fb9504ab8dbe6cebcbb32ade61bf1483
14 rindas
563 B
CMake
14 rindas
563 B
CMake
add_custom_target(build_stress_test)
|
|
add_executable(StressTest EXCLUDE_FROM_ALL ../hipTestMain/main.cc ../hipTestMain/hip_test_context.cc)
|
|
set_property(TARGET StressTest PROPERTY CXX_STANDARD 17)
|
|
target_link_libraries(StressTest PRIVATE stdc++fs)
|
|
add_dependencies(build_stress_test StressTest)
|
|
add_custom_target(stress_test COMMAND StressTest)
|
|
add_subdirectory(memory)
|
|
if(HIP_PLATFORM MATCHES "amd")
|
|
add_subdirectory(printf)
|
|
add_subdirectory(stream)
|
|
target_link_libraries(StressTest PRIVATE printf stream)
|
|
endif()
|
|
target_link_libraries(StressTest PRIVATE memory)
|