 
 /**
  * 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 i, int* j);
+__global__ void kernel_function ( int* j);
 
 
 /**

#include <stdlib.h>
#include <stdio.h>


    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 {
    
