Skip to content

Commit 39cb23a

Browse files
Fix clang format
Signed-off-by: Daiyaan Ahmed <daiyaan.ahmed@intel.com>
1 parent 0d4fb62 commit 39cb23a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

clang/lib/DPCT/AnalysisInfo.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,9 @@ class DpctGlobalInfo {
13531353
static bool useNoQueueDevice() {
13541354
return getHelperFuncPreference(HelperFuncPreference::NoQueueDevice);
13551355
}
1356-
static void setUseWrapperRegisterFnPtr() { UseWrapperRegisterFnPtrFlag = true; }
1356+
static void setUseWrapperRegisterFnPtr() {
1357+
UseWrapperRegisterFnPtrFlag = true;
1358+
}
13571359
static bool useWrapperRegisterFnPtr() { return UseWrapperRegisterFnPtrFlag; }
13581360
static void setUseSYCLCompat(bool Flag = true) { UseSYCLCompatFlag = Flag; }
13591361
static bool useSYCLCompat() { return UseSYCLCompatFlag; }

clang/lib/DPCT/RulesLang/RulesLang.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,8 @@ void TypeInDeclRule::registerMatcher(MatchFinder &MF) {
348348
"cublasLtMatrixTransformDesc_t", "cudaGraphicsMapFlags",
349349
"cudaGraphicsRegisterFlags", "cudaExternalMemoryHandleType",
350350
"cudaExternalSemaphoreHandleType", "CUstreamCallback",
351-
"cudaHostFn_t", "__nv_half2", "__nv_half",
352-
"cudaGraphNodeType", "CUsurfref"))))))
351+
"cudaHostFn_t", "__nv_half2", "__nv_half", "cudaGraphNodeType",
352+
"CUsurfref"))))))
353353
.bind("cudaTypeDef"),
354354
this);
355355

0 commit comments

Comments
 (0)