HomePhabricator

[HIP-Clang] Fat binary should not be produced for non GPU code 2

Authored by ashi1 on Apr 2 2019, 1:49 PM.

Description

[HIP-Clang] Fat binary should not be produced for non GPU code 2

Also for CUDA, we need to disable producing these fat binary functions when there is no GPU code.

Reviewers: yaxunl, tra

Differential Revision: https://reviews.llvm.org/D60141

llvm-svn: 357526