We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27173c1 commit 3e04402Copy full SHA for 3e04402
source/loader/layers/sanitizer/asan_interceptor.cpp
@@ -711,8 +711,7 @@ ur_result_t SanitizerInterceptor::prepareLaunch(
711
// We use "uint64_t" here because EnqueueWriteGlobal will fail when it's "uint32_t"
712
// Because EnqueueWriteGlobal is a async write, so
713
// we need to extend its lifetime
714
- static uint64_t Debug;
715
- Debug = Options(logger).Debug ? 1 : 0;
+ static uint64_t Debug = Options(logger).Debug ? 1 : 0;
716
EnqueueWriteGlobal(kSPIR_AsanDebug, &Debug, sizeof(Debug));
717
718
// Write shadow memory offset for global memory
0 commit comments