 }
 
 
-__global__ void kernel_function( /* int i, */ int* j) {
+__global__ void kernel_function( int i, int* j ) {
     *j = EXPECTED_KERNEL_RESULT;
 }
 

 * CUDA kernel that sets the first memory value @a j os pointing to to @c expected_kernel_result.
 *
 * @param i Dummy parameter but needed to trigger the problem we are observing.
 */
__global__ void kernel_function ( int* j);


/**

        cudaConfigureCall(grid_dim, block_dim);
        check_cuda_error();
        
        int offset = 0;
        
        cudaSetupArgument( &i, sizeof(i), offset);
        check_cuda_error();	 
        offset += sizeof( i );
    
        cudaSetupArgument( &d_jp, sizeof( d_jp), offset );
        check_cuda_error();
        offset += sizeof( d_jp );
        
        cudaLaunch( kernel_function );
        check_cuda_error();
