CUDA Programming
From Eric's Wiki
Collected Wisdom
- Must be compiled as C++. Simply for matching the symbols. Though the reverse is trivial, it is hard to call C++ from C.
- Must use gcc-4.3 gcc-4.4 doesn't work. Gives errors.
- Need functions to be floats. That means intrinsics must also be floats, like pow() => powf().
- Also means you might need to scale functions to avoid overflows.
- Do not include math.h
--Etittley 23 August 2010 (BST)