安装apex出现CUB的问题

安装apex的时候,由于cuda版本超过11.0出现以下问题:

apex usr local cuda 11.3 include thrust system cuda config h 78 2 error error The version of CUB in your include path is not compatible with this release of Thrust CUB is now included in the CUDA Toolkit so you no longer need to use your own checkout of CUB Define THRUST IGNORE CUB_VERSION_CHECK to ignore this.

解决办法:

在这里插入图片描述
懒得打了,大致就是到上图的这个路径里面,把#ifndef THRUST_IGNORE_CUB_VERSION_CHECK给注释掉,换成#ifdef THRUST_IGNORE_CUB_VERSION_CHECK就可以了。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值