Cosmetic changes to make thrust compilable with CUDA-capable clang.
* propagate __host__/__device__ attributes to function definitions
because they are not inheritable in clang.
* detect CUDA-capable clang.
* Don't use __bulk_exec_check_disable__ if thrust is compiled with clang.
git-commit
git-author Artem Belevich
[git-p4: depot-paths = "//sw/gpgpu/thrust/": change = 24246152]
MODIFY
thrust/detail/config/exec_check_disable.h
thrust/detail/config/exec_check_disable.h
#include <thrust/detail/config.h>
-#if defined(__CUDACC__) && !(defined(__CUDA__) && defined(__clang__))
-
-#define __thrust_exec_check_disable__ #pragma nv_exec_check_disable
+#if defined(__CUDACC__) && !defined(__clang__)
#else

Cosmetic changes to make thrust compilable with CUDA-capable clang.

* propagate __host__/__device__ attributes to function definitions
  because they are not inheritable in clang.
* detect CUDA-capable clang.
* Don't use __bulk_exec_check_disable__ if thrust is compiled with clang.
git-commit e1fa6e49ad4ff2766e5b188f9619b223bd2fe30f
git-author Artem Belevich <tra@google.com>

[git-p4: depot-paths = "//sw/gpgpu/thrust/": change = 24246152]