SWDEV-353807 - Fixes multiple catch issues (#2912)
- enforcing c++17 for all tests - Warning as error: ignoring return value Change-Id: I3d171540403f74222e631d1a8e393386461c9729
このコミットが含まれているのは:
1 親
ba5a0b9af5
コミット
d0aaed906d
24ファイル変更
+100
-99
検索条件に一致するファイルはありません
@@ -246,7 +246,7 @@ static bool testDeviceMemMulProc(bool testmalloc) {
|
||||
}
|
||||
// close the read-descriptor
|
||||
close(fd[0]);
|
||||
hipFree(result_d);
|
||||
HIP_CHECK(hipFree(result_d));
|
||||
free(result_h);
|
||||
// wait for child exit
|
||||
wait(NULL);
|
||||
@@ -279,7 +279,7 @@ static bool testDeviceMemMulProc(bool testmalloc) {
|
||||
write(fd[1], result_h, sizeof(int));
|
||||
// close the write descriptor:
|
||||
close(fd[1]);
|
||||
hipFree(result_d);
|
||||
HIP_CHECK(hipFree(result_d));
|
||||
free(result_h);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする