Hello,
I hope someone could help with the following compilation error:
When attempting to compile my CUDA code for x86 architecture, I get
many errors stating “no instance of overloaded function “surf1Dread” matches the specified type” (the complete message appears at the end of the post).
My compilation command line is:
pgcpp -c -O -Mcudax86 top_level_file.cu
and directory includes all the required source files.
Any advice on how to solve this ?
Thank you,
Nir
“C:\PROGRA~1\PGI/win64/2015/cuda/7.0/include/surface_functions.h”, line 319: error:
no instance of overloaded function “surf1Dread” matches the
specified type
forceinline device longlong2 surf1Dread(surface<void, cudaSurfaceType1
D> surf, int x, enum cudaSurfaceBoundaryMode mode)
^