llvm
llvm copied to clipboard
[DeviceSanitizer] Do sanitize for device globals in AddressSanitizer pass
Now UR already implemented API "urProgramGetGlobalVariablePointer", so we can use it to query the size of device globals and remove "__AsanDeviceGlobalCount".
UR Part: https://github.com/oneapi-src/unified-runtime/pull/1584
I suggest add a flag to control this feature.
I suggest add a flag to control this feature.
Done