[Openmp-dev] Mapped without a warning, but device code fails at run time

Alexey Bataev via Openmp-dev openmp-dev at lists.llvm.org
Tue Oct 22 05:04:02 PDT 2019


Hi Itaru, yes, this is possible, unlees you're trying to map a pointer in your "vector" type.

Best regards,
Alexey Bataev

> 21 окт. 2019 г., в 20:21, Itaru Kitayama via Openmp-dev <openmp-dev at lists.llvm.org> написал(а):
> 
> 
> Hi,
> By checking the compiler message, a type is mapped without triggering
> a Non-trivial type ... warning, but the device code fails at the run time leaving:
> 
> Libomptarget fatal error 1: failure of target construct while offloading is mandatory
> 
> (in the code accessing an element in a user-defined "vector")
> in this case, should I worry about a possible compiler bug?
> _______________________________________________
> 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