It looks like your include does not work. Try to include cuda.h or some of those. cutil.h is only for the CUDA_SAFE_CALL, CUT_SAFE_CALL and other utilities… cutil is not the CUDA runtime…
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Calling CUDA functions from a C file | 19 | 29288 | March 4, 2015 | |
main() must be in .cu file? | 2 | 6252 | November 28, 2008 | |
CUDA and C++ Do i need a main function in the .cu? | 4 | 3927 | October 1, 2009 | |
C++ Integration | 7 | 1710 | June 23, 2009 | |
Calling a function located in *.cu file in a standard *.c file in Visual Studio 2008 | 6 | 4400 | December 2, 2013 | |
How to call CUDA code from C++ | 8 | 13076 | October 4, 2011 | |
starting cuda function from a .cc file | 17 | 7045 | January 3, 2010 | |
Compiling / linking CUDA apps? | 8 | 4847 | September 21, 2009 | |
CUDA: How to run cuda kernel functions not in SDK? CUDA Compilation | 3 | 5517 | November 20, 2007 | |
Separating CUDA and C++ files | 3 | 3048 | April 6, 2012 |