Hi,

In this code bellow:

__kernel void sivia( __global unsigned int *FUNCOES_POR_KERNEL )

{
struct _intervalo lista[1344][TAM_LISTA];


for( int i = 0; i < 1344; i++ )
{

lista[i][0].inferior = -4;
lista[i][0].superior = 4;
lista[i][1].inferior = -4;
lista[i][1].superior = 4;



printf("\nT = %d [%.3f][%.3f][%.3f][%.3f] - %d", get_global_id(0),
lista[i][0].inferior,
lista[i][0].superior,
lista[i][1].inferior,
lista[i][1].superior,
0);
}

}

This code only works when my array lista is less then 134 for first dimension. If is more than 134 for first dimension, the code is send to be launch, but don't run. The printf for instance don't show anything. The code compile phase go well, all before run kernel's, in host, works fine. But, when clEnqueuNDRange is called, don't works and no errors appears. TAM_LISTA is 500.

But, if i change the i (highlighted in red ) for the constant 1343 for instance, the code works fine.

I need that this array is at least 1344 x 500.

Can anyone help please?

Thanks,

Luiz.