Skip to content

Commit

Permalink
Release a few more events
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongreig committed Oct 9, 2023
1 parent 8638429 commit 74a5104
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/conformance/enqueue/urEnqueueMemBufferFill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ TEST_P(urEnqueueMemBufferFillNegativeTest, InvalidNullPtrEventWaitList) {
sizeof(uint32_t), 0, size, 1,
&inv_evt, nullptr),
UR_RESULT_ERROR_INVALID_EVENT_WAIT_LIST);
ASSERT_SUCCESS(urEventRelease(validEvent));
}

TEST_P(urEnqueueMemBufferFillNegativeTest, InvalidSize) {
Expand Down
1 change: 1 addition & 0 deletions test/conformance/enqueue/urEnqueueUSMFill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,5 @@ TEST_P(urEnqueueUSMFillNegativeTest, InvalidEventWaitList) {
ASSERT_EQ_RESULT(urEnqueueUSMFill(queue, ptr, pattern_size, pattern.data(),
size, 1, &inv_evt, nullptr),
UR_RESULT_ERROR_INVALID_EVENT_WAIT_LIST);
ASSERT_SUCCESS(urEventRelease(validEvent));
}
1 change: 1 addition & 0 deletions test/conformance/enqueue/urEnqueueUSMMemcpy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ TEST_P(urEnqueueUSMMemcpyTest, NonBlocking) {
allocation_size, 0, nullptr,
&memcpy_event));
ASSERT_SUCCESS(urEventWait(1, &memcpy_event));
ASSERT_SUCCESS(urEventRelease(memcpy_event));

ASSERT_NO_FATAL_FAILURE(verifyData());
}
Expand Down

0 comments on commit 74a5104

Please sign in to comment.