Software Archive
Read-only legacy content
17061 Discussions

offload region is not bitwise copyable

Abhishek_S_7
Beginner
587 Views

Hi,

I have two structure defined as - 

typedef struct VECTOR_o {
int x;
int z;
} VECTOR_o;

typedef struct SHOT_INFO_o {
int **recvs;
VECTOR_o shot_location;
VECTOR_o first_receiver;
float *offset;
} SHOT_INFO_o;

A variable of SHOT_INFO_o *shot.

All required memory for shot and shot.recvs has been assigned. I want to send this structure to MIC, i am using "in" directive but it is saying  "variable "shot" used in this offload region is not bitwise copyable" while compiling.

Please help me to resolve the issue.

Regards,

Abhishek

0 Kudos
2 Replies
TimP
Honored Contributor III
587 Views

your search engine should be your friend.  There's a section about this in

http://software.intel.com/en-us/articles/effective-use-of-the-intel-compilers-offload-features

0 Kudos
Abhishek_S_7
Beginner
587 Views

TimP (Intel) wrote:

your search engine should be your friend.  There's a section about this in

http://software.intel.com/en-us/articles/effective-use-of-the-intel-comp...

Thanks Tim it was of great help.

0 Kudos
Reply