addone program debugging the addone program

Dear all,

I am new to CUDA, on the process to understand CUDA I wanted to debug the addone program, the host array a is getting initialized & no problems.

But the CUDA part cudaMalloc & the Kernel part is not working.
I am not getting current output and I am not able to debug inside the kernel part.

And can body help are provide the solution.

Thanks and regards,
Samdani