SWDEV-547526 - Add missing free calls (#531)
Co-authored-by: Vladana Stojiljkovic <Vladana.Stojiljkovic@amd.com>
Αυτή η υποβολή περιλαμβάνεται σε:
1 γονέας
7450910e53
υποβολή
720a5bcf9a
2 files changed
+6
-7
No files matched your search
@@ -91,6 +91,7 @@ bool testCodeObjFile(const char* codeObjFile) {
|
||||
HIP_CHECK(hipModuleLaunchKernel(Function, 1, 1, 1, LEN, 1, 1, 0, stream, NULL,
|
||||
reinterpret_cast<void**>(&config)));
|
||||
|
||||
HIP_CHECK(hipStreamSynchronize(stream));
|
||||
HIP_CHECK(hipStreamDestroy(stream));
|
||||
|
||||
HIP_CHECK(hipMemcpy(B, Bd, SIZE, hipMemcpyDeviceToHost));
|
||||
|
||||
Reference in new issue
Block a user