Commit 39ba7389 authored by Yong Tang's avatar Yong Tang Committed by Rasmus Munk Larsen
Browse files

Fix misleading cupti.h error message (#19224)



This fix tries to address the issue raised in 19223
where the cupti.h eror message was misleading. The following error:
```
Cuda Configuration Error: Cannot find cupti.h under /usr/local/cuda-9.0
```
is not the true patch searched.

This fix updates the bzl file to print out the
complete searched paths when error occurs:
```
Cuda Configuration Error: Cannot find cupti.h under /usr/local/cuda-9.0/extras/CUPTI/include/, /usr/local/cuda-9.0/include/cuda/CUPTI/
```

This fix fixes 19223.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent bcc9c398
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment