yaxunl added a comment. In https://reviews.llvm.org/D49643#1171158, @rjmccall wrote: > The commit message here could be better. You're passing `-target-cpu` when running the device-mode compiler. Right. Will fix. Thanks. https://reviews.llvm.org/D49643