[ad_1]
Your code is correctly printing the value of c as 9. You need to clarify on the environment you are running this code.
2
[ad_2]
solved (CUDA C) Why is it not printing out the value copied from device memory?
[ad_1]
Your code is correctly printing the value of c as 9. You need to clarify on the environment you are running this code.
2
[ad_2]
solved (CUDA C) Why is it not printing out the value copied from device memory?