EXSWCPHIPT-118 - Added testing for hipMemset Synchronous behavoiour. (#2750)

This commit is contained in:
Anton Mitkov
2022-08-04 06:05:21 +01:00
committed by GitHub
parent 7b7f14a991
commit 871c75e8f0
11 changed files with 2102 additions and 153 deletions
@@ -78,8 +78,8 @@ TEST_CASE("Unit_hipStreamPerThread_StreamSynchronize") {
constexpr unsigned int MAX_THREAD_CNT = 10;
std::vector<std::thread> threads(MAX_THREAD_CNT);
for (auto &th : threads) {
th = std::thread([](){HIP_CHECK(hipStreamSynchronize(hipStreamPerThread));});
for (auto& th : threads) {
th = std::thread([]() { HIP_CHECK(hipStreamSynchronize(hipStreamPerThread)); });
}
for (auto& th : threads) {