[PATCH] D54496: [HIP] Fix device only compilation

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 13 14:03:59 PST 2018


yaxunl created this revision.
yaxunl added a reviewer: tra.

Fix a bug causing host code being compiled when `--cude-device-only` is set.


https://reviews.llvm.org/D54496

Files:
  lib/Driver/Driver.cpp
  test/Driver/cuda-phases.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54496.173937.patch
Type: text/x-patch
Size: 4985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181113/c5a33201/attachment.bin>


More information about the cfe-commits mailing list