SWDEV-481860 - Match malloc/hipMalloc calls with free/hipFree calls in all samples.
Change-Id: Ib44551b3f60cd90fa7158e4ed016ef5549a34ef7
[ROCm/hip-tests commit: b89a7c6201]
이 커밋은 다음에 포함됨:
@@ -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");
|
||||
}
|
||||
|
||||
새 이슈에서 참조
사용자 차단