Skip to content

Commit

Permalink
[SYCL][Graph] Adds retrain/release for the commandbuffer dummy handle…
Browse files Browse the repository at this point in the history
…r in the unitest PI mock (#310)
  • Loading branch information
mfrancepillois authored Aug 28, 2023
1 parent 12499c2 commit a6a5df6
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 @@ -1278,11 +1278,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 a6a5df6

Please sign in to comment.