build: enable c++20

Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk 2025-01-20 10:31:05 +00:00 committed by Compute-Runtime-Automation
parent 8f5a0995e0
commit b7d7424aab
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -246,7 +246,6 @@ HWTEST_F(PrintfHandlerTests, givenPrintfHandlerWhenEnqueueIsBlockedThenDontUsePr
class MyMockCommandQueueHw : public CommandQueueHw<FamilyType> {
public:
using CommandQueueHw<FamilyType>::CommandQueueHw;
using CommandQueueHw<FamilyType>::enqueueKernel;
WaitStatus waitForAllEngines(bool blockedQueue, PrintfHandler *printfHandler, bool cleanTemporaryAllocationsList) override {
waitCalled = true;