CMAKE__HOST_COMPILER_ID ----------------------------- .. versionadded:: 3.31 This variable is available when ```` is ``CUDA`` or ``HIP`` and :variable:`CMAKE__COMPILER_ID` is ``NVIDIA``. It contains the identity of the host compiler invoked by ``nvcc``, either by default or as specified by :variable:`CMAKE__HOST_COMPILER`, among possibilities documented by :variable:`CMAKE__COMPILER_ID`. .. versionadded:: 4.5 This variable is also available when ```` is ``SYCL`` and :variable:`CMAKE__COMPILER_ID` is ``AdaptiveCpp``. It identifies the underlying host compiler used by the AdaptiveCpp driver. .. note:: SYCL support is experimental and gated by ``CMAKE_EXPERIMENTAL_SYCL``.