Skip to content

cuptiFinalize not defined in cuda7.5 #10469

@putcn

Description

@putcn

I am trying to fix Paddle's manylinux1 build. It will build Paddle based on CUDA 7.5. And it failed on

[21:34:51][Step 1/4] In file included from /paddle/paddle/fluid/platform/dynload/cupti.cc:17:0:
[21:34:51][Step 1/4] /paddle/paddle/fluid/platform/dynload/cupti.h: In member function ‘CUptiResult paddle::platform::dynload::DynLoad__cuptiFinalize::operator()(Args ...)’:
[21:34:51][Step 1/4] /paddle/paddle/fluid/platform/dynload/cupti.h:44:35: error: ‘::cuptiFinalize’ has not been declared
[21:34:51][Step 1/4]        using cuptiFunc = decltype(&::__name);                               \

Looks cuptiFinalize and related APIs are not available in cuda7.5, which fails the nightly build of cuda7.5 cudnn5.

@panyx0718 cuptiFinalize is used in profiling.

So, are we going to ditch the support for cuda 7.5?

Full Log:
http://172.19.32.197:8111/viewLog.html?tab=buildLog&logTab=tree&filter=debug&expand=all&buildId=35136&_focus=1374

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions