FrodoTheGiant

Memory access violation

Discussion created by FrodoTheGiant on Jan 4, 2011
Latest reply on Jan 4, 2011 by MicahVillmow

What happens if there is a memory access violation inside a kernel?

Example: Let's assume param is an array of size 32.

__kernel void myKernel ( __constant float *param) {

...

     temp = param[37];

...

}

Outcomes