Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 39179 Build 39190: arc lint + arc unit
Event Timeline
clang/test/Driver/hip-syntax-only.hip | ||
---|---|---|
7 | I'd include -target <GPU> and a comment describing that we're making sure that both host and device compilations are still executed. |
clang/test/Driver/hip-syntax-only.hip | ||
---|---|---|
7 | won't -fcuda-is-device be sufficient? that's option specific to device-side compilation. |
clang/test/Driver/hip-syntax-only.hip | ||
---|---|---|
7 | It's sufficient, but we're currently comparing sort of apples (-fcuda-is-device) and oranges (-triple FOO) on these two lines. Changing it into -triple GPU -fcuda-is-device vs. -triple HOST would make it easier to understand what's the intent here. |
I'd include -target <GPU> and a comment describing that we're making sure that both host and device compilations are still executed.