[PATCH 08/17] openmp: -foffload-memory=pinned

Tobias Burnus tobias@codesourcery.com
Fri Jul 8 09:57:04 GMT 2022


On 08.07.22 11:55, Andrew Stubbs wrote:
> It's not incompatible with GCN offloading, only with the XNACK mode in
> which the binary was compiled (i.e. USM on or off).
>
> The message could be less terse, indeed. I went through a variety of
> messages for this and couldn't find one that I liked. How about...
>
>   fatal error: HSA_XNACK=%s is set but this program was compiled for
> HSA_XNACK=%s; please unset your environment variable.

For what it is worth: I like this message.

Thanks,

Tobias

-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955


More information about the Gcc-patches mailing list