Spec-Zone.ru › CMake

CMAKE_HIP_PLATFORM

Added in version 3.28.

GPU platform for which HIP language sources are to be compiled.

The value must be one of:

amd

AMD GPUs

nvidia

NVIDIA GPUs

spirv

Added in version 4.3.

SPIR-V target (e.g., chipStar)

If not specified, a default is computed via hipconfig --platform.

CMAKE_HIP_ARCHITECTURES entries are interpreted with as architectures of the GPU platform.

CMAKE_HIP_COMPILER must target the same GPU platform.

© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/variable/CMAKE_HIP_PLATFORM.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API