 const float    dx = 0.1;
 const float    FRANGE_START = 0.f;
 const float    FRANGE_END = 2 * 3.141592f;
-const size_t   SIZE = ( FRANGE_END - FRANGE_START ) / dx;
+const size_t   DATA_SIZE = ( FRANGE_END - FRANGE_START ) / dx;
 
 void kernel(float* dev_out);
 

{
    int x = blockIdx.x * blockDim.x  + threadIdx.x;

    if (x<SIZE) {
        out[ 2 * x ] = x * dx;
        out[ 2 * x + 1 ] = sin(x*dx);
    }


void kernel(float* dev_out)
{
    static const dim3 threads(DATA_SIZE);
    dim3 blocks(1);

    simple_sinf<<< blocks, threads >>>(dev_out);
