[Openmp-dev] Target CUDA RTL --> Error when copying data from device to host.
Itaru Kitayama via Openmp-dev
openmp-dev at lists.llvm.org
Mon Jun 29 14:08:01 PDT 2020
I map a dynamically allocated user-defined class pointer array, and in the
error case I
Try to get the address of the first array element. If I don’t the DtH
transfer is not initiated.
On Tue, Jun 30, 2020 at 5:59 Itaru Kitayama <itaru.kitayama at gmail.com>
wrote:
> I asked that question myself. No never done it explicitly from my end.
> That happens if I try to get
> the target address in printf in the target region.
> And I’m using trunk Clang.
>
> On Tue, Jun 30, 2020 at 5:44 Alexey.Bataev <a.bataev at outlook.com> wrote:
>
>> Are some data mapped as tofrom? In this case the data will be copied from
>> the device to the host. BTW, try to update the clang to the latest version.
>>
>> -------------
>> Best regards,
>> Alexey Bataev
>>
>> 28.06.2020 11:02 PM, Itaru Kitayama via Openmp-dev пишет:
>>
>> I'm seeing the same error on an X86 with K20 GPU, for the record.
>>
>> On Sun, Jun 28, 2020 at 7:54 PM Itaru Kitayama <itaru.kitayama at gmail.com> <itaru.kitayama at gmail.com> wrote:
>>
>> Alexey,
>> The log collected on the ThunderX2 compute node is attached.
>>
>> On Sun, Jun 28, 2020 at 7:42 PM Alexey Bataev <a.bataev at hotmail.com> <a.bataev at hotmail.com> wrote:
>>
>> Hi Itaru, there might be the problem with copying to device, with kernel execution, etc. Sire, send the log to understand what is the real cause of the problem.
>>
>> Best regards,
>> Alexey Bataev
>>
>>
>> 28 июня 2020 г., в 03:53, Itaru Kitayama via Openmp-dev <openmp-dev at lists.llvm.org> <openmp-dev at lists.llvm.org> написал(а):
>>
>> I'm seeing this although I don't add a single program requiring copying
>> data back from target. I'm developing my app on AArch64 with V100.
>> I am happy to provide the log upon request.
>> _______________________________________________
>> Openmp-dev mailing listOpenmp-dev at lists.llvm.orghttps://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
>>
>> _______________________________________________
>> Openmp-dev mailing listOpenmp-dev at lists.llvm.orghttps://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20200630/b283f572/attachment.html>
More information about the Openmp-dev
mailing list