Skip to content

cmake not searching/checking the cudnn header file #2660

@WilliamTambellini

Description

@WilliamTambellini

Looks like the afcuda cmake is not searching/checking that the required cudnn.h file is available:

cmake
success
make afcuda
...
In file included from /local1/wtambellini/arrayfire/src/backend/cuda/convolve.cpp:15:0:
/local1/wtambellini/arrayfire/src/backend/cuda/cudnn.hpp:13:19: fatal error: cudnn.h: No such file or directory
#include <cudnn.h>

Expected behavior : cmake to at least fail if cudnn.h not findable in usual suspect dirs (/usr/local/cuda/include, ...)

Ref:
https://github.com/soumith/cudnn.torch/blob/master/cmake/FindCUDNN.cmake

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions