Skip to content

Commit 006b882

Browse files
[SYCL][Graph] Unitest bugfix (#10954)
Returns a dummy commandbuffer handler in piextCommandBufferCreate Mock function
1 parent c708b0d commit 006b882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/unittests/helpers/PiMockPlugin.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ inline pi_result
12731273
mock_piextCommandBufferCreate(pi_context context, pi_device device,
12741274
const pi_ext_command_buffer_desc *desc,
12751275
pi_ext_command_buffer *ret_command_buffer) {
1276-
1276+
*ret_command_buffer = createDummyHandle<pi_ext_command_buffer>();
12771277
return PI_SUCCESS;
12781278
}
12791279

0 commit comments

Comments
 (0)