clang portion of initial HSAIL target
Details
- Reviewers
- None
Diff Detail
Event Timeline
lib/Basic/Targets.cpp | ||
---|---|---|
5632 | Do we need an HSAIL_CARRIZO target too? | |
5698 | There should be more defines here, like in this patch: http://reviews.llvm.org/D10601 |
lib/Basic/Targets.cpp | ||
---|---|---|
5632 | There need to be a lot more than that, I have just been using kaveri as the example. Later all the other device names need to be added |
Can you please clarify me a bit where the actual device is needed/used (ATM only Kaveri) if the target is HSAIL, an "abstract machine"/IL? Just trying to get my head around on how the Clang/LLVM will work for HSAIL.
If it's for the extensions, why builtins-hsail.cl assumes gcn-specific builtins are found in the output even though mcpu is not set in the test command line?
It's used for enabling extension and some performance hacks. kaveri enables gcn extensions, and disables a few things like negative offsets for addressing modes.
Is there a matching HLC-HSAIL branch for the latest version of the patch? It doesn't work with with hsail-stable-3.7 anymore.
Do we need an HSAIL_CARRIZO target too?