Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

Offline Compiler Crash

$
0
0

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.

 

 

 

 

 


Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>