On Wed, Sep 15, 2021 at 11:19:29AM +0200, Richard Biener wrote:
> On Wed, Sep 15, 2021 at 4:02 AM Liu, Hongtao via Gcc <gcc@gcc.gnu.org> wrote:
> >
> > I got some feedback from my colleague
> >
> > -----------------
> > What we need from GCC
> >
> > 1. generate SPIR-V
> 
> But is SPIR-V powerful enough here, if wikipedia is right and it is
> close to GLSL
> then it likely has not the ability to perform calls?  You'd need sth
> like HSAIL then.

I believe SPIR-V is essentially LLVM IR, except with some restrictions and
perhaps small additions.

> > 2. offload bundler to create FAT object

We already produce FAT objects our way.

> > --------------
> >
> > If the answer is yes for both, they can hook it up with libomptarget 
> > library and our IGC back-end.

We really can't use libomptarget, it clashes with what libgomp provides
which is handling both the host OpenMP threads and OpenMP/OpenACC
offloading.  Is the IGC back-end open source?  Does it use LLVM to compile
SPIR-V into whatever ISA the Intel GPGPUs have?

        Jakub

Reply via email to