Skip to content

Commit

Permalink
fix clang-format error
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaojieZhuIntel committed Oct 10, 2024
1 parent 8557980 commit 377a995
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions src/plugins/intel_npu/src/backend/include/zero_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,30 @@ namespace intel_npu {
namespace zeroUtils {

#define THROW_ON_FAIL_FOR_GRAPH_EXT(step, result, graph_ddi_table_ext) \
OPENVINO_THROW("L0 ", \
step, \
" result: ", \
ze_result_to_string(result), \
", code 0x", \
std::hex, \
uint64_t(result), \
" - ", \
ze_result_to_description(result), \
" . ", \
OPENVINO_THROW("L0 ", \
step, \
" result: ", \
ze_result_to_string(result), \
", code 0x", \
std::hex, \
uint64_t(result), \
" - ", \
ze_result_to_description(result), \
" . ", \
intel_npu::zeroUtils::getLatestBuildError(graph_ddi_table_ext));

#define THROW_ON_FAIL_FOR_BACKEND(step, result) \
if (ZE_RESULT_SUCCESS != result) { \
OPENVINO_THROW("L0 ", \
step, \
" result: ", \
ze_result_to_string(result), \
", code 0x", \
std::hex, \
uint64_t(result), \
" - ", \
#define THROW_ON_FAIL_FOR_BACKEND(step, result) \
if (ZE_RESULT_SUCCESS != result) { \
OPENVINO_THROW("L0 ", \
step, \
" result: ", \
ze_result_to_string(result), \
", code 0x", \
std::hex, \
uint64_t(result), \
" - ", \
ze_result_to_description(result)); \
}
}

static inline void throwOnFail(const std::string& step, const ze_result_t result, const std::string& hintOnError) {
if (ZE_RESULT_SUCCESS != result) {
Expand Down

0 comments on commit 377a995

Please sign in to comment.