SWDEV-481860 - Match malloc/hipMalloc calls with free/hipFree calls in all samples.

Change-Id: Ib44551b3f60cd90fa7158e4ed016ef5549a34ef7
Этот коммит содержится в:
Jaydeep Patel authored and Jaydeepkumar Patel committed 2024-09-04 10:32:58 -04:00
1 родитель dac779c834
Коммит b89a7c6201
9 files changed
+43

No files matched your search

+6
Просмотреть файл
@@ -84,5 +84,11 @@ int main(int argc, char *argv[])
checkHipErrors(hipErrorUnknown);
}
}
checkHipErrors(hipFree(A_d));
checkHipErrors(hipFree(C_d));
free(A_h);
free(C_h);
printf ("PASSED!\n");
}