SWDEV-481861 - Add hipEventDestory for every hipEventCreate in all samples.
Change-Id: Ib1b860b02ef2640f321d54902b34ecf0e495ed65
Esse commit está contido em:
commit de
Jaydeepkumar Patel
pai
f54ce39eb5
commit
dac779c834
@@ -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
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário