[libomptarget] Move resource id functions into target specific code, implement for amdgcn
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 42370 Build 42833: arc lint + arc unit
Event Timeline
Comment Actions
Had some trouble picking a name for this file. It's a place to put the four accesses to magic cuda variables so that non-cuda targets can provide an equivalent, with its own header as that seemed better than implementing support.h across multiple sources.
openmp/libomptarget/deviceRTLs/amdgcn/src/resource_id.hip | ||
---|---|---|
1 | We have target-specific files already, like target_impl.h, maybe just put all these stuff in this file? |
openmp/libomptarget/deviceRTLs/amdgcn/src/resource_id.hip | ||
---|---|---|
1 | target_impl is becoming a bit of a dumping ground, but sure - another four functions won't hurt |
We have target-specific files already, like target_impl.h, maybe just put all these stuff in this file?