jhuber6 wrote: > I'm not sure I follow the question exactly, but in my opinion it does not > make sense to independently control instrumentation for host and device. We > had to implement a means to control instrumentation on the device when > development started and after we changed its default once development was > complete we kept the option just in case.
I'm referring to the fact that for a normal compile, if the user passes `-fsanitize=address`, should that enable it for both the host and device? My argument is that the user is capable of passing something like `-Xarch_host -fsanitize=undefined -Xarch_device -fsanitize=address` if they want fine-grained control, or don't want it on the CPU but want it on the CPU and vice-versa. This patch adds `-fanitize-gpu` which is a completely separate option that only works in this single case. https://github.com/llvm/llvm-project/pull/124754 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits