HIPHOSTCXX.rst 592 B

12345678910111213141516171819
  1. HIPHOSTCXX
  2. -----------
  3. .. versionadded:: 3.28
  4. .. include:: ENV_VAR.txt
  5. Preferred executable for compiling host code when compiling ``HIP``
  6. language files with the NVIDIA CUDA Compiler. Will only be used by CMake
  7. on the first configuration to determine ``HIP`` host compiler, after which
  8. the value for ``HIPHOSTCXX`` is stored in the cache as
  9. :variable:`CMAKE_HIP_HOST_COMPILER <CMAKE_<LANG>_HOST_COMPILER>`.
  10. This environment variable is primarily meant for use with projects that
  11. enable ``HIP`` as a first-class language.
  12. .. note::
  13. Ignored when using :ref:`Visual Studio Generators`.