OpenCL compilation crashes

OpenCL compilation crashes

Hi All,The following code crashes the compiler:

kernel void helloWorld(global const char* text, global int* retVal) {
	for(int i = 0; i < 1; i++) {

		char c = text[i];

		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]++;

		}

	}

}

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.70GHzDevice version: OpenCL 1.1 (Build 31360.31441)Device vendor: Intel CorporationDevice profile: FULL_PROFILE

publicaciones de 5 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

Thanks alot. i see an issue, we will update you soon.

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

Thanks,
Raghu

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

Best Reply

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

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya