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

[ROCm/hip commit: 0414111433]
このコミットが含まれているのは:
Anton Mitkov authored and GitHub committed 2022-08-04 10:35:21 +05:30
1 親 685cc4f6f5
コミット 401ffa5442
11ファイル変更
+2102 -153

検索条件に一致するファイルはありません

+2 -2
ファイルの表示
@@ -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) {