[CUDA] Fix test failing when using the new driver
authorJoseph Huber <jhuber6@vols.utk.edu>
Wed, 7 Sep 2022 01:14:20 +0000 (20:14 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Wed, 7 Sep 2022 01:14:20 +0000 (20:14 -0500)
commita6bb7c22fc288686010076ac253a12b4b1cd2ee5
tree5455e3efedd9a8c735d291d78d69b31d9d7422cf
parent2753eafe5a7f003776b12f425c5b0a475e8fb6b7
[CUDA] Fix test failing when using the new driver

Summary:
Previously the new driver crashed when using `-fsyntax-only` which
required a work-around in one of the test files. This was not properly
updated when it was fixed for the new driver. This patch fixes the test
and also adjusts a missing boolean check.
clang/lib/Driver/Driver.cpp
clang/test/Driver/cuda-bindings.cu