Skip to content

Commit 5e3aa7d

Browse files
committed
fix format
1 parent b00c401 commit 5e3aa7d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

source/loader/layers/sanitizer/asan_interceptor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ ur_result_t SanitizerInterceptor::allocShadowMemory(
320320
/// ? : 0x1000_0000_0000 ~ 0x1fff_ffff_ffff
321321
/// Device USM : 0x2000_0000_0000 ~ 0x3fff_ffff_ffff
322322
constexpr size_t SHADOW_SIZE = 1ULL << 46;
323-
// FIXME: Currently, Level-Zero doesn't create independent VAs for each contexts,
323+
// FIXME: Currently, Level-Zero doesn't create independent VAs for each contexts,
324324
// which will cause out-of-resource error when users use multiple contexts
325325
static uptr ShadowOffset, ShadowOffsetEnd;
326326

source/loader/layers/sanitizer/linux/san_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*/
1313

1414
#include "common.hpp"
15-
#include <sys/mman.h>
1615
#include <asm/param.h>
16+
#include <sys/mman.h>
1717

1818
extern "C" __attribute__((weak)) void __asan_init(void);
1919

source/loader/layers/sanitizer/ur_sanddi.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ __urdlllocal ur_result_t UR_APICALL urEnqueueKernelLaunch(
229229
pLocalWorkSize, numEventsInWaitList, phEventWaitList, &hEvent);
230230

231231
if (result == UR_RESULT_SUCCESS) {
232-
context.interceptor->postLaunchKernel(hKernel, hQueue, hEvent, LaunchInfo);
232+
context.interceptor->postLaunchKernel(hKernel, hQueue, hEvent,
233+
LaunchInfo);
233234
}
234235

235236
if (phEvent) {

0 commit comments

Comments
 (0)