CUDA/HIP: Change device-use-host-var.cu's NOT "external" check to include variable...
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Fri, 4 Jun 2021 12:55:26 +0000 (08:55 -0400)
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Fri, 4 Jun 2021 17:10:00 +0000 (13:10 -0400)
commit4d9f8527dbfbc998baf35eec868c9dec1f8d1224
tree0175e09c6837545fcf3722ab53eb3a7bd467c6ec
parent507d193ea7ef20ec77615b55836b4653f736cef3
CUDA/HIP: Change device-use-host-var.cu's NOT "external" check to include variable name

Otherwise it is causing one of our build jobs to fail,
it is using "external" as directory, and NOT is
failing because "external" is found in ModuleID.

Differential Revision: https://reviews.llvm.org/D103658
clang/test/CodeGenCUDA/device-use-host-var.cu