ファイル
rocm-systems/tests/catch/unit/stream/CMakeLists.txt
T
Dylan Angus 08435a972b Adding support for hipStreamWriteValue32/64 and hipStreamWaitValue32/64 (#2568)
* AHTS-90 - Add missing test case for hipStreamCreate
* Update hipStreamGetFlags testing
* Added testing for hipStreamSynchronize
* Added macro to test a particular error code is returned from an expression
* Update hip_test_common.hh
* Correcting checkers to properly list the test count
* fix copy paste error in HIP_CHECK_ERROR
* Add support for hipStreamWaitValue
* Remove changes unrelated to this PR
* Revert "Added testing for hipStreamSynchronize"
* Remove changes unrelated to this PR
* Added skip test for failure on AMD devices and removed changed to hip_test_common.hh
* Fixed build issues on Nvidia platforms by disabled incompatible tests; Updated negative tests to check the correct return values

Co-authored-by: Jatin Chaudhary <jatin.chaudhary@codeplay.com>
Co-authored-by: Fábio Mestre <fabio.mestre@codeplay.com>
Co-authored-by: Finlay Marno <finlay.marno@codeplay.com>
Co-authored-by: Fábio <fabio.m.mestre@gmail.com>
2022-06-03 08:31:30 +05:30

36 行
859 B
CMake

if(HIP_PLATFORM MATCHES "amd")
set(TEST_SRC
hipStreamCreate.cc
hipStreamGetFlags.cc
hipStreamGetPriority.cc
hipMultiStream.cc
hipStreamAddCallback.cc
hipStreamCreateWithFlags.cc
hipStreamCreateWithPriority.cc
hipStreamGetCUMask.cc
hipAPIStreamDisable.cc
streamCommon.cc
hipStreamValue.cc
hipStreamWithCUMask.cc
hipStreamACb_MultiThread.cc
)
else()
set(TEST_SRC
hipStreamCreate.cc
hipStreamGetFlags.cc
hipStreamGetPriority.cc
hipMultiStream.cc
hipStreamACb_MultiThread.cc
hipStreamAddCallback.cc
hipStreamCreateWithFlags.cc
hipStreamCreateWithPriority.cc
hipAPIStreamDisable.cc
streamCommon.cc
hipStreamValue.cc
)
endif()
hip_add_exe_to_target(NAME StreamTest
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME build_tests)