一些CUDA的C++抽象,简化编程。自用。
Add include into your compiler's include path.
include
Then #include <cuda_helpers.h>.
#include <cuda_helpers.h>