[Openmp-dev] Execute offloading app on host without GPU

Joachim Protze via Openmp-dev openmp-dev at lists.llvm.org
Tue Feb 9 04:11:49 PST 2021


Hi Itaru,

there are at least two ways to execute an offloading app on the host:
compile the application with
-fopenmp-targets=x86_64-pc-linux-gnu
for offloading to host support, or execute a randomly built application
with OMP_TARGET_OFFLOAD=disabled. Which one does not work for you?
And what is the concrete error? Compile time error, runtime error?

- Joachim


Am 09.02.21 um 01:50 schrieb Johannes Doerfert via Openmp-dev:
> It's not like we broke it and ignore the problem. As far as I know
> there is no problem in the compiler support. However, you cannot
> expect every source code to just work if you offload to the host
> (then and now). That said, we are working on a more genuine host
> offloading capability that will behave "like a GPU" but on the CPU.
> 
> 
> 
> On 2/8/21 6:39 PM, Itaru Kitayama wrote:
>> For debugging purposes, it’d be nice this is guaranteed to work. I recall
>> it was with couples of major releases ago.
>>
>> On Tue, Feb 9, 2021 at 9:37 Johannes Doerfert
>> <johannesdoerfert at gmail.com>
>> wrote:
>>
>>> I expect this to be working still, though there are various things that
>>> can go wrong.
>>>
>>>
>>> On 2/8/21 6:34 PM, Itaru Kitayama via Openmp-dev wrote:
>>>> Is this possible? I keep getting runtime error with the latest Clang.
>>>>
>>>>
>>>> _______________________________________________
>>>> Openmp-dev mailing list
>>>> Openmp-dev at lists.llvm.org
>>>> https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
> _______________________________________________
> Openmp-dev mailing list
> Openmp-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev



More information about the Openmp-dev mailing list