https://github.com/RossBrunton converted_to_draft
https://github.com/llvm/llvm-project/pull/148648
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
RossBrunton wrote:
@jhuber6 That would mean that any program that wants to do dynamic linking
would need to ship a full clang install alongside `libLLVMOffload.so`. The
programmer would also have to mess around with writing/reading files and
invoking a subprocess.
IMO, since this code already
https://github.com/RossBrunton created
https://github.com/llvm/llvm-project/pull/148648
A version of `olCreateProgram` that inputs many bitcode files and links
them together before loading them.
>From 8589fcc6d053cb2937cf970d1ce354abfb84da31 Mon Sep 17 00:00:00 2001
From: Ross Brunton
Date: M
https://github.com/RossBrunton updated
https://github.com/llvm/llvm-project/pull/147972
>From 77a4183117cd259584c1bb4136aa27dd2b9548b0 Mon Sep 17 00:00:00 2001
From: Ross Brunton
Date: Thu, 10 Jul 2025 15:34:17 +0100
Subject: [PATCH] [Offload] Add global variable address/size queries
Add two n
https://github.com/RossBrunton updated
https://github.com/llvm/llvm-project/pull/147962
>From b269d41d44e589baa2d0e4b87d1734e39b5de2a0 Mon Sep 17 00:00:00 2001
From: Ross Brunton
Date: Thu, 10 Jul 2025 14:32:39 +0100
Subject: [PATCH] [Offload] Add `olGetSymbolInfo[Size]`
This mirrors the simil
RossBrunton wrote:
@jhuber6 Some queries (such as name and vendor) return strings, binary data or
arrays. This entry point allows the implementation to pre-allocate storage for
them.
It's also useful for offload users that want to create a generic "readInfo"
function that allocates and return
https://github.com/RossBrunton created
https://github.com/llvm/llvm-project/pull/147962
This mirrors the similar functions for other handles. The only
implemented info at the moment is the symbol's kind.
>From 252c47b65e494ca3d293cec3abb4a9f5c7378a15 Mon Sep 17 00:00:00 2001
From: Ross Brunton
RossBrunton wrote:
@jhuber6 I'm not sure that's possible generically. The AMD backend at least
needs to mangle kernel names to add ".kd" on the end, so we'd need to know
ahead of time whether it's a kernel or not.
However, `olGetSymbol` could work if we pass in the symbol kind as a parameter,
https://github.com/RossBrunton created
https://github.com/llvm/llvm-project/pull/147944
Looks up a global variable as a symbol
>From de96f4311a866a3277086df3441c4c72a81970ce Mon Sep 17 00:00:00 2001
From: Ross Brunton
Date: Thu, 10 Jul 2025 12:53:30 +0100
Subject: [PATCH] [Offload] Add `olGet
https://github.com/RossBrunton updated
https://github.com/llvm/llvm-project/pull/147318
>From 12b08d974c631036f8fa645ec8f4a469fe3cb79c Mon Sep 17 00:00:00 2001
From: Ross Brunton
Date: Mon, 7 Jul 2025 16:13:32 +0100
Subject: [PATCH 1/2] [Offload] Refactor device information queries to use new
https://github.com/RossBrunton updated
https://github.com/llvm/llvm-project/pull/147318
>From 0550a48a4794312063b27a342d68f708ccf55684 Mon Sep 17 00:00:00 2001
From: Ross Brunton
Date: Mon, 7 Jul 2025 16:13:32 +0100
Subject: [PATCH 1/2] [Offload] Refactor device information queries to use new
https://github.com/RossBrunton updated
https://github.com/llvm/llvm-project/pull/147318
>From 0550a48a4794312063b27a342d68f708ccf55684 Mon Sep 17 00:00:00 2001
From: Ross Brunton
Date: Mon, 7 Jul 2025 16:13:32 +0100
Subject: [PATCH] [Offload] Refactor device information queries to use new
tagg
https://github.com/RossBrunton updated
https://github.com/llvm/llvm-project/pull/147317
>From 9b79557e7a536ccd4b02365c9dd98a4ef69f87e1 Mon Sep 17 00:00:00 2001
From: Ross Brunton
Date: Mon, 7 Jul 2025 16:10:19 +0100
Subject: [PATCH 1/2] [Offload] Allow "tagging" device info entries with
offloa
https://github.com/RossBrunton created
https://github.com/llvm/llvm-project/pull/147318
Instead using strings to look up device information (which is brittle
and slow), use the new tags that the plugins specify when building the
nodes.
>From 4cce1eec173637a0e50655e10ad520a9821b9960 Mon Sep 17
https://github.com/RossBrunton created
https://github.com/llvm/llvm-project/pull/147317
When generating the device info tree, nodes can be marked with an
offload Device Info value. The nodes can also look up children based
on this value.
>From 9b79557e7a536ccd4b02365c9dd98a4ef69f87e1 Mon Sep 1
15 matches
Mail list logo