AddressSanitizer (aka ASan) is a memory error detector for C/C++, we extend it to support detecting memory errors in offload code as well.
Currently, it supports to detect out-of-bounds(buffer overflow & underflow) errors in
- host/device/shared USM
- local (static only)
It depends on the GPU driver: https://ubit-gfx.intel.com/build/18430085