I just installed the PGICE 17.4 and cuda 8.0 on my computer (Win 10, I7, GTX1080).
I was trying to run the tests in the CUDA-FORTRAN-BOOK. The deviceQuery could be compiled and run normally.
When I try to run the case increment in chapter one, the code can be compiled but the result is not right. It shows **** Program Failed ****.
So I print the value of ‘a’ out. It turns out all the elements of ‘a’ are still 1 and the program never goes into the kernal.
Anyone know the reason or how to resolve this?