     }
     
     return error;
-} // bool check_cuda_error()
+} /* bool check_cuda_error() */
 

    cudaMemset( d_jp, 0, sizeof( int ) ); 
    check_cuda_error();
    
    // Setup CUDA kernel arguments
    dim3 block_dim( 1 );
    dim3 grid_dim( 1 );
    
    bool const use_native_cuda_kernel_call = false;
    if ( use_native_cuda_kernel_call ) {
        
        // CUDA native kernel call.
        
        kernel_function<<< grid_dim, block_dim >>>( i, d_jp);
        
    } else {
    
        // CUDA runtime API kernel call.
        
        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 );
        

 * @param j Pointer to device memory which can at least hold one @c int value.
 */
__global__ void kernel_function ( int i, int* j);


/**
