Skip to content

Commit

Permalink
[SYCL][Graph] Unitest bugfix (#308)
Browse files Browse the repository at this point in the history
Returns a dummy handler of commandbuffer in Mock piextCommandBufferCreate function
  • Loading branch information
mfrancepillois authored Aug 25, 2023
1 parent c46ec83 commit 12499c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sycl/unittests/helpers/PiMockPlugin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ inline pi_result
mock_piextCommandBufferCreate(pi_context context, pi_device device,
const pi_ext_command_buffer_desc *desc,
pi_ext_command_buffer *ret_command_buffer) {

*ret_command_buffer = createDummyHandle<pi_ext_command_buffer>();
return PI_SUCCESS;
}

Expand Down

0 comments on commit 12499c2

Please sign in to comment.