It appears that the signature for the cutWriteFiled() function in cutil.h has been wrongly declared. The relevant lines of code are reproduced below. I believe the second parameter should be declared as “[font=“Courier New”]const double* data[/font]” rather than “[font=“Courier New”]const float* data[/font]”
This appears in cutil.h from the CUDA SDK version 2.3 for 64-bit Linux.
[codebox]
DLL_MAPPING
CUTBoolean CUTIL_API
cutWriteFiled( const char* filename, const float* data, unsigned int len,
const double epsilon, bool verbose = false);
[/codebox]