From 12499c2c0a64cbed931700a6ce9ac38686ead73c Mon Sep 17 00:00:00 2001 From: Maxime France-Pillois Date: Fri, 25 Aug 2023 09:27:12 +0100 Subject: [PATCH] [SYCL][Graph] Unitest bugfix (#308) Returns a dummy handler of commandbuffer in Mock piextCommandBufferCreate function --- sycl/unittests/helpers/PiMockPlugin.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/unittests/helpers/PiMockPlugin.hpp b/sycl/unittests/helpers/PiMockPlugin.hpp index dac3fce0fddc9..c37745680de4e 100644 --- a/sycl/unittests/helpers/PiMockPlugin.hpp +++ b/sycl/unittests/helpers/PiMockPlugin.hpp @@ -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(); return PI_SUCCESS; }