llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[DeviceSanitizer] Do sanitize for device globals in AddressSanitizer pass

Open zhaomaosu opened this issue 9 months ago • 2 comments

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

zhaomaosu avatar May 07 '24 06:05 zhaomaosu

I suggest add a flag to control this feature.

AllanZyne avatar May 07 '24 07:05 AllanZyne

I suggest add a flag to control this feature.

Done

zhaomaosu avatar May 09 '24 08:05 zhaomaosu