码迷,mamicode.com
首页 > 其他好文 > 详细

添加thrust的库后出错

时间:2015-03-13 10:43:45      阅读:105      评论:0      收藏:0      [点我收藏+]

标签:

在添加thrust库中的host_vector.h等头文件时

C:\NVIDIA\cudatoolkit\include\thrust\detail\config
中的debug.h一直出问题,因此注释
#ifndef THRUST_DEBUG
# ifndef NDEBUG
# if (DEBUG || _DEBUG)
# define THRUST_DEBUG 1
# endif // (DEBUG || _DEBUG)
# endif // NDEBUG
#endif // THRUST_DEBUG
之后问题解决

添加thrust的库后出错

标签:

原文地址:http://www.cnblogs.com/qingsunny/p/4334296.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!