I am working on 1000000 points of data sets and I am weird problem in execution, Code works just fine in emulation mode and when the points are equal to 100000, but it won’t work for 1000000.
__global__ void cuda_delaunay_func(int blocks, block_properties *block_p)
{
int bid = blockIdx.x;
long int i;
int m, flag;
float xn, yn, zn;
long int F=0;
long int index = 0, end_index = 0;
long int roller=0;
index = block_p[bid].index;
end_index = block_p[bid].end_index;
for(i=index; i< end_index - 2; i++)
{
roller++;
}
block_p[bid].no_of_loops = roller;
block_p[bid].no_of_tri = F;
}
Structure for block_properties is
struct block_properties
{
unsigned int siteidx, counter, deltay, deltax;
long int no_of_tri, no_of_loops;
long int t1, t2, t3, t4;
long int l1, l2, l3, l4;
long int index;
long int end_index;
};
I don’t know how to find the error. And while executing the program it is not giving any error just skipping the above function and execute the other functions.
And, I am using Ubuntu 8.04 with Tesla C870, can I use the cuda debugger??
Yes, I get unspecified launch failure for the following function which is before the function given above. And the same error occurs for the function given above.