Displaying 20 results from an estimated 8000 matches similar to: "[LLVMdev] Supporting heterogeneous computing in llvm."
2015 Jun 08
5
[LLVMdev] Supporting heterogeneous computing in llvm.
Chirs,
Have you seen an offloading infrastructure design proposal at
http://lists.cs.uiuc.edu/pipermail/llvmdev/2015-April/084986.html ?
It relies on the long-standing OpenMP standard with recent updates to
support the heterogenous computations.
Could you please review it and comment on how it fits to your needs?
It's not quite clear from your proposal what source language standard
do you
2015 Jun 08
2
[LLVMdev] Supporting heterogeneous computing in llvm.
Roel,
You have to checkout and build llvm/clang as usual.
For runtime support you'll have to build the libomptarget and make a
plugin for your target. Samuel can help you some more.
As for the OpenMP examples I can recommend you the
http://openmp.org/mp-documents/OpenMP4.0.0.Examples.pdf
look into the target constructs.
Sergos
On Mon, Jun 8, 2015 at 6:13 PM, Roel Jordans <r.jordans at
2015 Jun 09
2
[LLVMdev] Supporting heterogeneous computing in llvm.
Hi Sergos and Samuel,
Thanks for the links, I've got it mostly working now.
I still have a problem with linking the code. It seems that the clang
driver doesn't pass its library search path to nvlink when linking the
generated cuda code to the target library, resulting in it not correctly
finding libtarget-nvptx.a. Is there some flag or environment variable
that I should set here?
2015 Jun 05
7
[LLVMdev] Supporting heterogeneous computing in llvm.
Hello All,
The last two months I have been working on the design and implementation of
a heterogeneous execution engine for LLVM. I started this project as an
intern at the Qualcomm Innovation Center and I believe it can be useful to
different people and use cases. I am planning to share more details and a
set of patches in the next
days. However, I would first like to see if there is an interest
2015 Jun 06
3
[LLVMdev] Supporting heterogeneous computing in llvm.
On Sun, Jun 7, 2015 at 2:22 AM, Eric Christopher <echristo at gmail.com> wrote:
>
>
> On Sat, Jun 6, 2015 at 5:02 AM C Bergström <cbergstrom at pathscale.com> wrote:
>>
>> On Sat, Jun 6, 2015 at 6:24 PM, Christos Margiolas
>> <chrmargiolas at gmail.com> wrote:
>> > Hello,
>> >
>> > Thank you a lot for the feedback. I believe
2015 Jun 06
4
[LLVMdev] Supporting heterogeneous computing in llvm, follow up.
Hello,
As I first e-mailed yesterday, I have been working on a Heterogeneous
Execution Engine (Hexe) that provides compiler and runtime support for the
automatic and transparent offloading of loop and function workloads to
accelerators.
Hexe is composed of the following:
a) Analysis and Transformation Passes for extracting loops or functions for
offloading.
b) A runtime library that handles
2015 Jun 06
2
[LLVMdev] Supporting heterogeneous computing in llvm.
On Sat, Jun 6, 2015 at 6:24 PM, Christos Margiolas
<chrmargiolas at gmail.com> wrote:
> Hello,
>
> Thank you a lot for the feedback. I believe that the heterogeneous engine
> should be strongly connected with parallelization and vectorization efforts.
> Most of the accelerators are parallel architectures where having efficient
> parallelization and vectorization can be
2015 Jun 06
2
[LLVMdev] Supporting heterogeneous computing in llvm.
On Sun, Jun 7, 2015 at 2:34 AM, Eric Christopher <echristo at gmail.com> wrote:
>
>
> On Sat, Jun 6, 2015 at 12:31 PM C Bergström <cbergstrom at pathscale.com>
> wrote:
>>
>> On Sun, Jun 7, 2015 at 2:22 AM, Eric Christopher <echristo at gmail.com>
>> wrote:
>> >
>> >
>> > On Sat, Jun 6, 2015 at 5:02 AM C Bergström
2015 Jun 06
2
[LLVMdev] Supporting heterogeneous computing in llvm.
On Sun, Jun 7, 2015 at 2:52 AM, Eric Christopher <echristo at gmail.com> wrote:
>
>
> On Sat, Jun 6, 2015 at 12:43 PM C Bergström <cbergstrom at pathscale.com>
> wrote:
>>
>> On Sun, Jun 7, 2015 at 2:34 AM, Eric Christopher <echristo at gmail.com>
>> wrote:
>> >
>> >
>> > On Sat, Jun 6, 2015 at 12:31 PM C Bergström
2015 Oct 22
2
Moderators needed for LLVM Developers' Meeting
All,
I'm needing volunteers to help moderate the sessions of the LLVM Developers' Meeting. All you need to do is introduce the speaker, make sure the speaker stays on time, and run Q&A at the end (run a microphone, select people, etc). Its a pretty easy job, but critical for our meeting to run smoothly.
If you are interested in moderating, please send me your top 2 session choices.
2020 Jul 28
4
[RFC] Heterogeneous LLVM-IR Modules
TL;DR
-----
Let's allow to merge to LLVM-IR modules for different targets (with
compatible data layouts) into a single LLVM-IR module to facilitate
host-device code optimizations.
Wait, what?
-----------
Given an offloading programming model of your choice (CUDA, HIP, SYCL,
OpenMP, OpenACC, ...), the current pipeline will most likely optimize
the host and the device code in isolation. This
2012 Jul 26
6
[LLVMdev] [PROPOSAL] LLVM multi-module support
Hi,
a couple of weeks ago I discussed with Peter how to improve LLVM's
support for heterogeneous computing. One weakness we (and others) have
seen is the absence of multi-module support in LLVM. Peter came up with
a nice idea how to improve here. I would like to put this idea up for
discussion.
## The problem ##
LLVM-IR modules can currently only contain code for a single target
2012 Jul 26
0
[LLVMdev] [PROPOSAL] LLVM multi-module support
Hi Tobias, I didn't really get it. Is the idea that the same bitcode is
going to be codegen'd for different architectures, or is each sub-module
going to contain different bitcode? In the later case you may as well
just use multiple modules, perhaps in conjunction with a scheme to store
more than one module in the same file on disk as a convenience.
Ciao, Duncan.
> a couple of weeks
2020 Jul 28
2
[RFC] Heterogeneous LLVM-IR Modules
On 7/28/20 3:03 PM, Renato Golin wrote:
> On Tue, 28 Jul 2020 at 20:44, Johannes Doerfert
> <johannesdoerfert at gmail.com> wrote:
>> What I (tried to) describe is that you can pass an array of structs via
>> a CUDA memcpy (or similar) to the device and then expect it to be
>> accessible as an array of structs on the other side. I can imagine this
>>
2012 Apr 04
3
[LLVMdev] GSoC 2012 Proposal: Automatic GPGPU code generation for llvm
On 04/03/2012 03:13 PM, Hongbin Zheng wrote:
> Hi Yabin,
>
> Instead of compile the LLVM IR to PTX asm string in a ScopPass, you
> can also the improve llc/lli or create new tools to support the code
> generation for Heterogeneous platforms[1], i.e. generate code for more
> than one target architecture at the same time. Something like this is
> not very complicated and had
2012 Apr 04
0
[LLVMdev] GSoC 2012 Proposal: Automatic GPGPU code generation for llvm
On Wed, Apr 4, 2012 at 4:49 AM, Tobias Grosser <tobias at grosser.es> wrote:
> On 04/03/2012 03:13 PM, Hongbin Zheng wrote:
> > Hi Yabin,
> >
> > Instead of compile the LLVM IR to PTX asm string in a ScopPass, you
> > can also the improve llc/lli or create new tools to support the code
> > generation for Heterogeneous platforms[1], i.e. generate code for
2012 Jul 26
7
[LLVMdev] [PROPOSAL] LLVM multi-module support
In our project we combine regular binary code and LLVM IR code for kernels,
embedded as a special data symbol of ELF object. The LLVM IR for kernel
existing at compile-time is preliminary, and may be optimized further
during runtime (pointers analysis, polly, etc.). During application
startup, runtime system builds an index of all kernels sources embedded
into the executable. Host and kernel code
2020 Jul 28
2
[RFC] Heterogeneous LLVM-IR Modules
On 7/28/20 2:24 PM, Renato Golin wrote:
> On Tue, 28 Jul 2020 at 20:07, Johannes Doerfert via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> Long story short, I think host & device need to, and in practice do,
>> agree on the data layout of the address space they use to communicate.
>
> You can design APIs that call functions into external hardware that
2020 Jul 30
2
[RFC] Heterogeneous LLVM-IR Modules
[off topic] I'm not a fan of the "reply-to-list" default.
Thanks for the feedback! More below.
On 7/30/20 6:01 AM, David Chisnall via llvm-dev wrote:
> On 28/07/2020 07:00, Johannes Doerfert via llvm-dev wrote:
>> TL;DR
>> -----
>>
>> Let's allow to merge to LLVM-IR modules for different targets (with
>> compatible data layouts) into a single
2020 Jul 30
2
[RFC] Heterogeneous LLVM-IR Modules
On 7/30/20 11:11 AM, Renato Golin wrote:
> On Thu, 30 Jul 2020 at 16:58, Johannes Doerfert
> <johannesdoerfert at gmail.com> wrote:
>> I mean, you can put the command line string that set the options into
>> the first place, right? That is as long as it initially was, or maybe I
>> am missing something.
>
> Options change with time, and this would make