Hello,
I had a cuda C/C++ program and I would like to test the performance of your compiler on it. So I modified my makefile to use pgCC instead of nvcc. But it is impossible to do the linking of the application. I’m working on Ubuntu 10.04 64 bits with an intel i7 Sandy Bridge.
The errors are :
in the .cu file : undefined reference to cudaMemcpy2DArrayToArray' /opt/pgi/linux86-64/2012/libso/libcudaforemu.so: undefined reference to
cublasAlloc’
/opt/pgi/linux86-64/2012/libso/libcudaforemu.so: undefined reference to `cublasFree’
My command line is :
$(PGCC) -Mcudax86 -fast -m64 -tp sandybridge-64 -mp -o $(EXE) $(OBJS) $(LIB) -lm -lrt -pgf90libs
Thank you for your help