Skip to content

Commit

Permalink
[SYCL][Graph] Release CommandBuffer dummy handler used by Graph Unite…
Browse files Browse the repository at this point in the history
…sts (#10968)

Adds retrain/release for the CommandBuffer dummy handler in the unitest
PI mock.

This fixes the CI fail in PR #10954.
https://github.com/intel/llvm/actions/runs/5973326392/job/16205377150
  • Loading branch information
mfrancepillois authored Aug 25, 2023
1 parent c66fb0d commit dbd9b67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sycl/unittests/helpers/PiMockPlugin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1279,11 +1279,13 @@ mock_piextCommandBufferCreate(pi_context context, pi_device device,

inline pi_result
mock_piextCommandBufferRetain(pi_ext_command_buffer command_buffer) {
retainDummyHandle(command_buffer);
return PI_SUCCESS;
}

inline pi_result
mock_piextCommandBufferRelease(pi_ext_command_buffer command_buffer) {
releaseDummyHandle(command_buffer);
return PI_SUCCESS;
}

Expand Down

0 comments on commit dbd9b67

Please sign in to comment.