Compiling kernel on HD 505 (Apollo Lake)

Compiling kernel on HD 505 (Apollo Lake)

How should I interpret this error?

I'm compiling an OpenCL 1.2 kernel from source.  It compiles fine on a HD 530/x64/Skylake device.

But I'm seeing these errors when compiling the same kernel source on an HD 505 / N4200 / x64 executable.

warning: Linking two modules of different data layouts: '' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024' whereas '<origin>' is 'e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64:64:64-v96:128:128-v128:128:128-v192:256:256-v256:256:256-v512:512:512-v1024:1024:1024-n8:16:32:64'

warning: Linking two modules of different target triples: ' is 'spir' whereas '<origin>' is 'vISA_32'

warning: Linking two modules of different data layouts: '' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024' whereas '<origin>' is 'e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64:64:64-v96:128:128-v128:128:128-v192:256:256-v256:256:256-v512:512:512-v1024:1024:1024-n8:16:32:64'

warning: Linking two modules of different target triples: ' is 'spir' whereas '<origin>' is 'vISA_32'

 

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

This problem was resolved.  I removed the "-std-cl=..." option from the clBuildProgram() and the problem went away.

I can also confirm the HD505 performs really really well with my compute kernels!

Leave a Comment

Please sign in to add a comment. Not a member? Join today