Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions catch/unit/kernel/hipLaunchKernelEx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ TEST_CASE("Unit_hipLaunchKernelExC_NegetiveTsts") {
kernelArgs),
hipErrorInvalidConfiguration);
}
HIP_CHECK(hipFree(d_output));
}
/**
* Test Description
Expand Down Expand Up @@ -264,6 +265,7 @@ TEST_CASE("Unit_hipLaunchKernelEx_NegetiveTsts") {
d_output, totalThreads),
hipErrorInvalidConfiguration);
}
HIP_CHECK(hipFree(d_output));
}

bool runTest(const char *testName, const void *kernelFunc, int totalThreads,
Expand Down Expand Up @@ -422,6 +424,7 @@ TEST_CASE("Unit_hipLaunchKernelEx_With_Different_Kernels") {

int result = 0;
HIP_CHECK(hipMemcpy(&result, devMem, sizeof(result), hipMemcpyDefault));
HIP_CHECK(hipFree(devMem));
REQUIRE(result == 100);
}

Expand Down