HomePhabricator

[CUDA] Extract CUDA version from cuda.h if version.txt is not found

Authored by tra on Oct 20 2020, 3:11 PM.

Description

[CUDA] Extract CUDA version from cuda.h if version.txt is not found

If CUDA version can not be determined based on version.txt file, attempt to find
CUDA_VERSION macro in cuda.h.

This is a follow-up to D89752,

Differntial Revision: https://reviews.llvm.org/D89832

Details

Committed
traOct 23 2020, 10:03 AM
Parents
rG65d206484c54: [CUDA] Improve clang's ability to detect recent CUDA versions.
Branches
Unknown
Tags
Unknown