summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCUDA/dependent-libs.cu
Commit message (Collapse)AuthorAgeFilesLines
* Fix failure of lit test dependent-libs.cuYaxun Liu2019-05-291-2/+4
| | | | llvm-svn: 361905
* [CUDA][HIP] Emit dependent libs for host onlyYaxun Liu2019-05-281-0/+6
Recently D60274 was introduced to allow lld to handle dependent libs. However current usage of dependent libs (e.g. pragma comment(lib, *) in windows header files) are intended for host only. Emitting the metadata in device IR causes link error in device path. Until there is a way to different it dependent libs for device or host, metadata for dependent libs should be emitted for host only. This patch enforces that. Differential Revision: https://reviews.llvm.org/D62483 llvm-svn: 361880
OpenPOWER on IntegriCloud