Bug#888071: Compatibility with boost 1.62

Lumin cdluminate at gmail.com
Tue Jan 23 14:05:41 UTC 2018

I investigated deeper in this problem. There is no any
__CUDACC_VER__ definition in caffe code or cuda headers.
This is a boost problem. CUDA 9.1 won't help.

There are several packages that use this definition, I'm not
sure whether they are affected by this problem:

For applications like caffe your probosed fix is applicable, thanks

Well, seems nothing for the CUDA packaging to change.

On 23 January 2018 at 04:37, Andreas Beckmann <anbe at debian.org> wrote:
> On 2018-01-23 05:02, Lumin wrote:
>> The solution is either to
>>  * [dirty hack] modify/remove the __CUDACC_VER line in
>> include/crt/common_functions.h
> Can't you just
> #include <crt/common_functions.h>
> #undef __CUDACC_VER__
> #define __CUDACC_VER__ whatever-you-need-if-anything
> #include <boost>
> in caffe? (Probably in some top-level caffe header that is always
> included first.)
> Would this be fixed in 9.1?
> Andreas


More information about the pkg-nvidia-devel mailing list