diff --git a/CMakeLists.txt b/CMakeLists.txt index f2133d0e2c..6e35d1ef4d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -300,8 +300,8 @@ if(NOT NEO_BINARY_DIR) set(NEO_BINARY_DIR ${CMAKE_BINARY_DIR}) endif() -# we use c++17 -set(CMAKE_CXX_STANDARD 17) +# we use c++20 +set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) # we force using response files diff --git a/opencl/test/unit_test/program/printf_handler_tests.cpp b/opencl/test/unit_test/program/printf_handler_tests.cpp index 8b959173b8..4bda734098 100644 --- a/opencl/test/unit_test/program/printf_handler_tests.cpp +++ b/opencl/test/unit_test/program/printf_handler_tests.cpp @@ -246,7 +246,6 @@ HWTEST_F(PrintfHandlerTests, givenPrintfHandlerWhenEnqueueIsBlockedThenDontUsePr class MyMockCommandQueueHw : public CommandQueueHw { public: using CommandQueueHw::CommandQueueHw; - using CommandQueueHw::enqueueKernel; WaitStatus waitForAllEngines(bool blockedQueue, PrintfHandler *printfHandler, bool cleanTemporaryAllocationsList) override { waitCalled = true;