diff --git a/sycl/unittests/helpers/UrMock.hpp b/sycl/unittests/helpers/UrMock.hpp index de4d30be001f2..745f75bfd35a9 100644 --- a/sycl/unittests/helpers/UrMock.hpp +++ b/sycl/unittests/helpers/UrMock.hpp @@ -156,7 +156,7 @@ inline ur_result_t mock_urDeviceGetInfo(void *pParams) { auto params = reinterpret_cast(pParams); constexpr char MockDeviceName[] = "Mock device"; constexpr char MockSupportedExtensions[] = - "cl_khr_il_program ur_exp_command_buffer"; + "cl_khr_fp64 cl_khr_il_program ur_exp_command_buffer"; switch (*params->ppropName) { case UR_DEVICE_INFO_TYPE: { // Act like any device is a GPU. diff --git a/sycl/unittests/pipes/host_pipe_registration.cpp b/sycl/unittests/pipes/host_pipe_registration.cpp index 02feb6b72b945..dc7e06338dd1d 100644 --- a/sycl/unittests/pipes/host_pipe_registration.cpp +++ b/sycl/unittests/pipes/host_pipe_registration.cpp @@ -69,11 +69,11 @@ ur_result_t redefinedEnqueueWriteHostPipe(void *pParams) { ur_result_t after_urDeviceGetInfo(void *pParams) { auto params = *static_cast(pParams); constexpr char MockSupportedExtensions[] = - "cl_khr_il_program cl_intel_program_scope_host_pipe"; + "cl_khr_fp64 cl_khr_il_program ur_exp_command_buffer " + "cl_intel_program_scope_host_pipe"; switch (*params.ppropName) { case UR_DEVICE_INFO_EXTENSIONS: if (*params.ppPropValue) { - std::ignore = *params.ppropSize; assert(*params.ppropSize >= sizeof(MockSupportedExtensions)); std::memcpy(*params.ppPropValue, MockSupportedExtensions, sizeof(MockSupportedExtensions));