Closed GoogleCodeExporter closed 9 years ago
it finally compiled after 15-20 minutes.
but when i included cudpp.h in my project i got the following errors
gcc -W -Wall -Wimplicit -Wswitch -Wformat -Wchar-subscripts -Wparentheses
-Wmultichar -Wtrigraphs -Wpointer-arith -Wcast-align -Wreturn-type
-Wno-unused-function -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Wmain -fno-strict-aliasing -msse3
-funroll-all-loops -mfpmath=sse -ffast-math -fomit-frame-pointer
-fdump-tree-vect -ftree-vectorizer-verbose=3 -I. -I./inc
-I/usr/local/cuda/include -I/usr/local/cuda/sdk/C/common/linux/inc -DUNIX
-D_GLIBCXX_GCC_GTHR_POSIX_H -O3 -DDEBUG=0 -o helpers.c_o -c helpers.c
In file included from mussel_ibm.h:13,
from helpers.c:1:
/usr/local/cudpp/cudpp/include/cudpp.h:409: error: expected
specifier-qualifier-list before ‘CUDPPAlgorithm’
/usr/local/cudpp/cudpp/include/cudpp.h:440: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppPlan’
/usr/local/cudpp/cudpp/include/cudpp.h:447: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppDestroyPlan’
/usr/local/cudpp/cudpp/include/cudpp.h:452: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppScan’
/usr/local/cudpp/cudpp/include/cudpp.h:458: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppMultiScan’
/usr/local/cudpp/cudpp/include/cudpp.h:465: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppSegmentedScan’
/usr/local/cudpp/cudpp/include/cudpp.h:472: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppCompact’
/usr/local/cudpp/cudpp/include/cudpp.h:480: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppSort’
/usr/local/cudpp/cudpp/include/cudpp.h:489: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppSparseMatrix’
/usr/local/cudpp/cudpp/include/cudpp.h:498: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppDestroySparseMatrix’
/usr/local/cudpp/cudpp/include/cudpp.h:503: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before
‘cudppSparseMatrixVectorMultiply’
/usr/local/cudpp/cudpp/include/cudpp.h:509: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppRand’
/usr/local/cudpp/cudpp/include/cudpp.h:512: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppRandSeed’
make: *** [helpers.c_o] Error 1
Original comment by itabhiya...@gmail.com
on 13 Sep 2010 at 1:09
The long compilation time is a known issue. If you want to see progress, use
"make verbose=1".
I'm not sure about the errors. Obviously, including cudpp.h works in our tests.
Do the examples in the apps folder compile ok for you?
If they do, then this problem is specific to your code.
Original comment by harr...@gmail.com
on 13 Sep 2010 at 2:19
I'm closing this as wontfix since it is a known problem. If you are still
having compilation errors, please file another issue report.
Original comment by harr...@gmail.com
on 1 Jul 2011 at 5:20
Original issue reported on code.google.com by
itabhiya...@gmail.com
on 13 Sep 2010 at 12:48