mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
Revert "feature: enable C++20"
This reverts commit 137e004767
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
d62122a656
commit
c8cbed8e9b
@ -300,8 +300,8 @@ if(NOT NEO_BINARY_DIR)
|
||||
set(NEO_BINARY_DIR ${CMAKE_BINARY_DIR})
|
||||
endif()
|
||||
|
||||
# we use c++20
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
# we use c++17
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# we force using response files
|
||||
|
@ -246,17 +246,7 @@ HWTEST_F(PrintfHandlerTests, givenPrintfHandlerWhenEnqueueIsBlockedThenDontUsePr
|
||||
class MyMockCommandQueueHw : public CommandQueueHw<FamilyType> {
|
||||
public:
|
||||
using CommandQueueHw<FamilyType>::CommandQueueHw;
|
||||
|
||||
cl_int enqueueKernel(Kernel *kernel,
|
||||
cl_uint workDim,
|
||||
const size_t *globalWorkOffset,
|
||||
const size_t *globalWorkSize,
|
||||
const size_t *localWorkSize,
|
||||
cl_uint numEventsInWaitList,
|
||||
const cl_event *eventWaitList,
|
||||
cl_event *event) override {
|
||||
return this->CommandQueueHw<FamilyType>::enqueueKernel(kernel, workDim, globalWorkOffset, globalWorkSize, localWorkSize, numEventsInWaitList, eventWaitList, event);
|
||||
}
|
||||
using CommandQueueHw<FamilyType>::enqueueKernel;
|
||||
|
||||
WaitStatus waitForAllEngines(bool blockedQueue, PrintfHandler *printfHandler, bool cleanTemporaryAllocationsList) override {
|
||||
waitCalled = true;
|
||||
|
@ -128,9 +128,7 @@ void PrintFormatter::adjustFormatString<int64_t>(std::string &formatString) {
|
||||
UNRECOVERABLE_IF(formatString.size() - 1 == longPosition);
|
||||
|
||||
if (formatString.at(longPosition + 1) != 'l') {
|
||||
formatString.append(1, '\0');
|
||||
std::move_backward(formatString.begin() + longPosition, formatString.end() - 1, formatString.end());
|
||||
formatString[longPosition] = 'l';
|
||||
formatString.insert(longPosition, "l");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user