[clang] [llvm] [mlir] [Offload] Rework offloading entry type to be more generic (PR #124018)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 27 07:45:23 PST 2025
================
@@ -317,6 +317,9 @@ GlobalVariable *createFatbinDesc(Module &M, ArrayRef<char> Image, bool IsHIP,
/// void __cudaRegisterTest(void **fatbinHandle) {
/// for (struct __tgt_offload_entry *entry = &__start_cuda_offloading_entries;
/// entry != &__stop_cuda_offloading_entries; ++entry) {
+/// if (entry->kind != OFK_CUDA)
----------------
shiltian wrote:
```suggestion
/// if (entry->Kind != OFK_CUDA)
```
https://github.com/llvm/llvm-project/pull/124018
More information about the llvm-commits
mailing list