- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have the latest sdk and run time. When I build my kernel, I get the following errors:
1>INTEL_OPENCL_BUILD_RULES : warning : Linking two modules of different data layouts!
1>INTEL_OPENCL_BUILD_RULES : warning : Linking two modules of different target triples: C:\Program Files (x86)\Common Files\Intel\OpenCL\bin\common\clbltfnshared.rtl: 'i686-pc-win32-elf' and 'x86_64-pc-win32-elf'
1> Stored value type does not match pointer operand type!
1> store <4 x i8>* %loadedValue1341.i, i8** %loadedValue1348.i, align 8
1> i8*Stored value type does not match pointer operand type!
1> store <4 x i8>* %loadedValue1321.i, i8** %"GEP[Lane]532.i", align 8
1> i8*Stored value type does not match pointer operand type!
1> store <4 x i8>* %loadedValue1313.i, i8** %"GEP[Lane]534.i", align 8
1> i8*Stored value type does not match pointer operand type!
1> store <4 x i8>* %loadedValue1305.i, i8** %"GEP[Lane]536.i", align 8
1> i8*Stored value type does not match pointer operand type!
1> store <4 x i8>* %loadedValue1337.i, i8** %loadedValue1352.i, align 8
1> i8*Stored value type does not match pointer operand type!
1> store <4 x i8>* %loadedValue1325.i, i8** %"GEP[Lane]553.i", align 8
1> i8*Stored value type does not match pointer operand type!
1> store <4 x i8>* %loadedValue1317.i, i8** %"GEP[Lane]555.i", align 8
1> i8*Stored value type does not match pointer operand type!
1> store <4 x i8>* %loadedValue1309.i, i8** %"GEP[Lane]557.i", align 8
1> i8*Broken module found, compilation aborted!
The problem comes from the following line of code:
typedef struct mqc {
uint c; // code register
uint a; // current interval value
uint ct; // count of number of shifts applied to registers a and c
uchar *bp; // byte pointer
uchar *start; // start of byte buffer
CONSTANT mqc_state_t* ctxs[MQC_NUMCTXS];
CONSTANT mqc_state_t **curctx;
} mqc_t;
uchar codeStream[128];
// the following line causes the crash
mqc.bp = codeStream-1;
I believe I have the 14.2 runtime. How can I check runtime version? Also, is there a way of downloading the old 14.1 runtime?
Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, I rearranged the code and now the crash went away. Strange.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, it is still happening.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fixed now. I think it had something to do with the constant memory space.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page