Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
9 Views

OpenCL compilation crashes

Jump to solution
Hi All,
The following code crashes the compiler:
[cpp]kernel void helloWorld(global const char* text, global int* retVal) { for(int i = 0; i < 1; i++) { char c = text; if (c == 2) { i += 1; } else if (c == 3) { //If this is commented, the kernel is compiled i += 1; } else if (c != '\n' && c != '\r' && c != '\t') { retVal[1]++; } } }[/cpp]

My initial thought was I was using incorrect types etc., but then I discovered that if the 9th line is commented out, the code compiles with no problem whatsoever.

If anybody has some clues, there would be much appreciated.

I'm running this on Windows 7. I'm using Intel OpenCL SDK offline compiler. The following is the SDK log:

Using default instruction set architecture.
Intel OpenCL CPU device was found!
Device name: Intel Core i5-2557M CPU @ 1.70GHz
Device version: OpenCL 1.1 (Build 31360.31441)
Device vendor: Intel Corporation
Device profile: FULL_PROFILE
0 Kudos

Accepted Solutions
Highlighted
9 Views

OpenCL compilation crashes

Jump to solution
Hi Michael,

It'll be a full SDK release. I don't have a date yet, but will post here once I get more details. Alternately, you can watch the official Intel OpenCL SDK site for any announcements including access to Beta or this Forum.

Thanks,
Raghu

View solution in original post

0 Kudos
4 Replies
Highlighted
9 Views

OpenCL compilation crashes

Jump to solution
Thanks alot. i see an issue, we will update you soon.
0 Kudos
Highlighted
9 Views

OpenCL compilation crashes

Jump to solution
Thanks for providing the code. This issue has been fixed and will be in available in the next release.

Thanks,
Raghu
0 Kudos
Highlighted
Beginner
9 Views

OpenCL compilation crashes

Jump to solution
Hi Raghu,
Thanks for a prompt fix - could you also clarify which software it is related to? Is it full open CL sdk, or is there a separate update for a particular dlls? Is the release date already decided, and if not, is there an early access to nightly builds?
Many thanks,
Michael
0 Kudos
Highlighted
10 Views

OpenCL compilation crashes

Jump to solution
Hi Michael,

It'll be a full SDK release. I don't have a date yet, but will post here once I get more details. Alternately, you can watch the official Intel OpenCL SDK site for any announcements including access to Beta or this Forum.

Thanks,
Raghu

View solution in original post

0 Kudos