Software Archive
Read-only legacy content
17060 Discussions

offload-attribute-target

Jen_B_
Beginner
625 Views

When I compile my program with just 'ifort', everything compiles fine. But when I do 'ifort -qoffload-attribute-target=mic' it gives me errors, why would that be? For example, one of the errors is #6406 saying 'Conflicting attributes or multiple declaration of name'... Thanks!

0 Kudos
1 Reply
Kevin_D_Intel
Employee
625 Views

Throwing that option leads to both a host and target compilation of the file. If preceded with a *MIC* tag then the error came from the target compilation, but from what I'm not sure without a bit more insight.

Could you possibly offer any more details?  A small reproducer perhaps?

0 Kudos
Reply