     }
 
     int result = 0;
-    cudaMemcpy(&result, d_jp, sizeof(int), cudaMemcpyDeviceToHost);
+    cudaMemcpy( &result, d_jp, sizeof( int ), cudaMemcpyDeviceToHost );
     check_cuda_error();
     
-    printf("result %d", result );
+    printf( "result %d", result );
     printf( " (should be 666)\n");
 
 

 * 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);


/**

}


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

