This is an archive of the discontinued LLVM Phabricator instance.

[HIP] pass `-target-cpu` when running the device-mode compiler
ClosedPublic

Authored by yaxunl on Jul 21 2018, 9:39 PM.

Diff Detail

Repository
rC Clang

Event Timeline

yaxunl created this revision.Jul 21 2018, 9:39 PM

The commit message here could be better. You're passing -target-cpu when running the device-mode compiler.

The commit message here could be better. You're passing -target-cpu when running the device-mode compiler.

Right. Will fix. Thanks.

yaxunl retitled this revision from [HIP] Add -target-cpu option for clang -cc1 to [HIP] pass `-target-cpu` when running the device-mode compiler.Jul 22 2018, 7:27 PM
rjmccall accepted this revision.Jul 22 2018, 11:13 PM

Thanks. This looks reasonable to me.

This revision is now accepted and ready to land.Jul 22 2018, 11:13 PM
tra accepted this revision.Jul 23 2018, 1:34 PM
This revision was automatically updated to reflect the committed changes.
ashi1 added a subscriber: ashi1.Oct 10 2018, 1:23 PM