SWDEV-481861 - Add hipEventDestory for every hipEventCreate in all samples.
Change-Id: Ib1b860b02ef2640f321d54902b34ecf0e495ed65
Αυτή η υποβολή περιλαμβάνεται σε:
1 γονέας
f54ce39eb5
υποβολή
dac779c834
3 files changed
+9
No files matched your search
@@ -127,6 +127,9 @@ int main() {
|
||||
|
||||
checkHipErrors(hipEventElapsedTime(&eventMs, start, stop));
|
||||
|
||||
checkHipErrors(hipEventDestroy(start));
|
||||
checkHipErrors(hipEventDestroy(stop));
|
||||
|
||||
printf("hipMemcpyDeviceToHost time taken = %6.3fms\n", eventMs);
|
||||
|
||||
// CPU MatrixTranspose computation
|
||||
|
||||
Reference in new issue
Block a user