Fix invalid use of hipEventElapsedTime (#2698)

Dieser Commit ist enthalten in:
vstojilj
2026-01-22 17:08:43 +01:00
committet von GitHub
Ursprung 87ea43b642
Commit 9d84e31d23
@@ -221,10 +221,6 @@ TEST_CASE("Unit_hipGetProcAddress_IPC_Event") {
REQUIRE(validateHostArray(hostMem, N, 11) == true);
float time = 0.0f;
HIP_CHECK(hipEventElapsedTime(&time, start, stop));
REQUIRE(time > 0.0f);
HIP_CHECK(hipEventDestroy(stop));
HIP_CHECK(hipStreamDestroy(stream));
free(hostMem);