SWDEV-306940 - Fix hip errors/warnings by CppCheck (#2486)
Change-Id: I91f5e97b0c7ca80b6d21fa66d24e3cf9fde716a9
Tá an tiomantas seo le fáil i:
1 tuismitheoir
c093f29d32
tiomantas
610b859b34
7 comhad athraithe
+16
-22
Níor tháinig aon chomhaid le do chuardach
@@ -252,9 +252,9 @@ void RunBenchmark_H2D(ResultDatabase& resultDB) {
|
||||
|
||||
case MallocUnpinned:
|
||||
if (p_alignedhost) {
|
||||
delete[] hostMem;
|
||||
} else {
|
||||
free(hostMem);
|
||||
} else {
|
||||
delete[] hostMem;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir