6 Usage: intel_sanitize_gpu [OPTION]... [--] COMMAND ARGUMENTS
8 Run COMMAND with ARGUMENTS and verify the GPU doesn't write outside its memory
13 --help Display this help message and exit
40 echo "intel_sanitize_gpu: invalid option: $1"
50 [ -z $1 ] && show_help
52 ld_preload
="@install_libexecdir@/libintel_sanitize_gpu.so${LD_PRELOAD:+:$LD_PRELOAD}"
54 LD_PRELOAD
=$ld_preload exec "$@"
56 gdb
-iex "set exec-wrapper env LD_PRELOAD=$ld_preload" --args $@