Files
compute-runtime/opencl/test/unit_test/helpers/debug_helpers.cpp
Mateusz Jablonski 7df9945ebe Add absolute include paths
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-23 23:49:12 +01:00

21 lines
458 B
C++

/*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/helpers/debug_helpers.h"
#include <stdexcept>
#include <string>
namespace NEO {
void debugBreak(int line, const char *file) {
}
void abortUnrecoverable(int line, const char *file) {
std::string message = "Abort was called at " + std::to_string(line) + " line in file " + file;
throw std::runtime_error(message);
}
} // namespace NEO