summaryrefslogtreecommitdiff
path: root/kernels/compiler_private_data_overflow.cl
blob: d0f557dd2e14519602a87b8c8b71acf34bee26a3 (plain)
1
2
3
4
5
6
7
8
9
10
kernel void compiler_private_data_overflow( __global int4 *output )
{
	int4 data[65];
	for( int i=0; i<65; ++i )
	{
		data[i] = (int4)i;
	}
	if( get_global_id(0) == 1 )
		*output = data[0];
}