File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed
source/adapters/level_zero Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -362,8 +362,8 @@ void zeParseError(ze_result_t ZeError, const char *&ErrorString);
362362// Perform traced call to L0 without checking for errors
363363#define ZE_CALL_NOCHECK (ZeName, ZeArgs ) \
364364 ZeCall ().doCall(ZeName ZeArgs, #ZeName, #ZeArgs, false )
365-
366- #define ZE_CALL_NOCHECK_NAME (ZeName, ZeArgs, callName ) \
365+
366+ #define ZE_CALL_NOCHECK_NAME (ZeName, ZeArgs, callName ) \
367367 ZeCall ().doCall(ZeName ZeArgs, callName, #ZeArgs, false )
368368
369369// This wrapper around std::atomic is created to limit operations with reference
Original file line number Diff line number Diff line change 1616#include " ../common.hpp"
1717#include " logger/ur_logger.hpp"
1818namespace {
19- const char * desturctorNames[] = {
20- " zeKernelDestroy" ,
21- " zeEventDestroy" ,
22- " zeEventPoolDestroy" ,
23- " zeContextDestroy" ,
24- " zeCommandListDestroy"
25- };
19+ const char *desturctorNames[] = {" zeKernelDestroy" , " zeEventDestroy" ,
20+ " zeEventPoolDestroy" , " zeContextDestroy" ,
21+ " zeCommandListDestroy" };
2622}
2723
2824namespace v2 {
@@ -74,7 +70,8 @@ struct ze_handle_wrapper {
7470 }
7571
7672 if (ownZeHandle) {
77- auto zeResult = ZE_CALL_NOCHECK_NAME (destroy, (handle), desturctorNames[nameId]);
73+ auto zeResult =
74+ ZE_CALL_NOCHECK_NAME (destroy, (handle), desturctorNames[nameId]);
7875 // Gracefully handle the case that L0 was already unloaded.
7976 if (zeResult && zeResult != ZE_RESULT_ERROR_UNINITIALIZED)
8077 throw ze2urResult (zeResult);
You can’t perform that action at this time.
0 commit comments