I am currently struggling a lot trying to build the Fortran CUBLAS example (Fortran_Cuda_Blas.tgz) under Windows XP with Microsoft Visual Studio 2005 (using Intel Fortran Compiler).
I have linked my code with the library “cublas.lib” but I still obtain this :
"
1>Compiling with Intel® Fortran Compiler 10.1.011 [IA-32]…
1>sgemm_speed.f90
1>D:\Projects\CUDA\ICUBLAS\sgemm_speed.f90(37) : Warning: Bad # preprocessor line
1>D:\Projects\CUDA\ICUBLAS\sgemm_speed.f90(39) : Warning: Bad # preprocessor line
1>D:\Projects\CUDA\ICUBLAS\sgemm_speed.f90(41) : Warning: Bad # preprocessor line
1>Linking…
1>sgemm_speed.obj : error LNK2019: unresolved external symbol CUBLAS_SGEMM referenced in function MAIN
1>sgemm_speed.obj : error LNK2019: unresolved external symbol SGEMM referenced in function MAIN
1>Debug\icublas.exe : fatal error LNK1120: 2 unresolved externals
"
I would be very grateful if someone could have the start of the beginning of a solution for me <img src=‘http://hqnveipbwb20/public/style_emoticons/<#EMO_DIR#>/crying.gif’ class=‘bbc_emoticon’ alt=‘:’(’ /> … thanks
Hey guys, I have solved a part of my problem (stupid ‘-fpp’ omission) but I still have the “unresolved external symbol CUBLAS_SGEMM referenced in function MAIN” error, does anyone has an idea, an advice, an hint, a clue or even 20c ??? :(