OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1668 Discussions

OpenCL CTHeader.h ulong and etc problem

inkjet__
Beginner
236 Views

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

0 Kudos
1 Reply
Jeffrey_M_Intel1
Employee
236 Views

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?

 

Reply