mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 20:13:04 +08:00
This change introduces detection of GPU hangs in flushBcsTask() function. The new code has been covered with ULTs. Related-To: NEO-6681 Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
22 lines
416 B
C++
22 lines
416 B
C++
/*
|
|
* Copyright (C) 2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "opencl/source/program/printf_handler.h"
|
|
|
|
using namespace NEO;
|
|
|
|
class MockPrintfHandler : public PrintfHandler {
|
|
public:
|
|
MockPrintfHandler(ClDevice &device) : PrintfHandler{device} {}
|
|
~MockPrintfHandler() override = default;
|
|
|
|
bool printEnqueueOutput() override {
|
|
return false;
|
|
}
|
|
}; |