From 07c4e73ea6452d4ace4399d347ecf9c4a83a629b Mon Sep 17 00:00:00 2001 From: Maxime France-Pillois Date: Thu, 24 Aug 2023 11:59:09 +0100 Subject: [PATCH] [SYCL][Graph] Unitest bugfix 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 c393d57d16d6c..75639bf56bbc2 100644 --- a/sycl/unittests/helpers/PiMockPlugin.hpp +++ b/sycl/unittests/helpers/PiMockPlugin.hpp @@ -1273,7 +1273,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; }