OpenCL CTHeader.h ulong and etc problem

OpenCL CTHeader.h ulong and etc problem

I get this errors on console when I run the OpenCL compiled program in windows visual studio on intel board on my portable computer:

[ error ] In file included from <built-in>:136:
In file included from <command line>:16:
CTHeader.h:127:69: error: unknown type name 'uchar'; did you mean 'char'?
CTHeader.h:127:96: error: unknown type name 'uchar'; did you mean 'char'?
CTHeader.h:129:69: error: unknown type name 'ushort'; did you mean 'short'?
CTHeader.h:129:97: error: unknown type name 'ushort'; did you mean 'short'?
CTHeader.h:131:69: error: unknown type name 'uint'; did you mean 'int'?
CTHeader.h:131:95: error: unknown type name 'uint'; did you mean 'int'?
CTHeader.h:133:69: error: unknown type name 'ulong'; did you mean 'long'?
CTHeader.h:133:96: error: unknown type name 'ulong'; did you mean 'long'?
CTHeader.h:135:69: error: unknown type name 'char2'; did you mean 'char'?
CTHeader.h:135:96: error: unknown type name 'char2'; did you mean 'char'?
CTHeader.h:136:69: error: unknown type name 'uchar2'; did you mean 'char'?
CTHeader.h:136:97: error: unknown type name 'uchar2'; did you mean 'char'?
CTHeader.h:137:69: error: unknown type name 'short2'; did you mean 'short'?
CTHeader.h:137:97: error: unknown type name 'short2'; did you mean 'short'?
CTHeader.h:138:69: error: unknown type name 'ushort2'; did you mean 'short'?
CTHeader.h:138:98: error: unknown type name 'ushort2'; did you mean 'short'?
CTHeader.h:139:69: error: unknown type name 'int2'; did you mean 'int'?
CTHeader.h:139:95: error: unknown type name 'int2'; did you mean 'int'?
CTHeader.h:140:69: error: unknown type name 'uint2'
CTHeader.h:140:96: error: unknown type name 'uint2'
etc.....

Help appreciated.

Thanks

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

Sorry for the delayed reply.  Could you send more details?

  • Which version of Intel(R) SDK for OpenCL Applications did you install?
  • Which version of Visual Studio?
  • Did you see any notes about Visual Studio integration when you installed?
  • Which processor type?

 

Leave a Comment

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