Hi!

On 2020-06-18T14:06:10+0200, Tobias Burnus <tob...@codesourcery.com> wrote:
> On 6/18/20 12:39 PM, Alexandre Oliva wrote:
>>> and intelmic.
>> How does intelmic get into the picture?
>
> No idea – I just know that it counts as offloading platform,
> ENABLE_OFFLOAD is set for it (but not for has).
> I just wanted to mention it GCC supports it, in principle.
> (What I have heard is that it does not exist in silicon but
> only as simulator, which can be used for testing with GCC,
> but I did not follow this at all.)
>
>>    I looked for a mkoffload
>> program for it in the GCC source tree and couldn't find one.

See 'gcc/config/i386/intelmic-mkoffload.c'.  ;-)

>> This
>> suggests that the addition of -dumpbase to the mkoffload interface might
>> require changes elsewhere.
>
> Maybe.

:-) Yes, I quickly tested, and found that similar changes are required
there, too.

> I think Thomas is the only one who runs GCC with
> emulated intelmic once in a while – thus, he surely knows a bit more about it.
> But also Jakub should have an idea.

Can you easily adjust that file as you did for the GCN and nvptx
'mkoffload's?  Due to other workload, resolving it myself would be very
low priority for me, I'm afraid.  (But I can easily test anything anybody
else comes up with.)


Grüße
 Thomas
-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander 
Walter

Reply via email to