I have compiled my program "a.f", which contains the subroutine asub, with -qoffload-attribute-target=mic. Now in another file "b.f", inside the "!dir$offload target (mic)" I call this "asub". But in front of (before the line) "call asub" in "b.f" I do not put the "!dir$ offload attributes target:mic:asub". Everything seems to compile fine, and offload report gives me information on the offloaded region. I just wanted to make sure, is there anything to worry that I did not put "!dir$ offload target:mic:asub" in "b.f" or not? Thanks!
↧