From aba7b2fb96f07bb204baac9bac8514ba73e75582 Mon Sep 17 00:00:00 2001 From: TheNewSound Date: Sat, 17 Dec 2022 22:30:58 +0100 Subject: [PATCH] Update __HIP_PLATFORM_NVCC__ compiler guard update compiler guard --- Programming_Guides/HIP-FAQ.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Programming_Guides/HIP-FAQ.rst b/Programming_Guides/HIP-FAQ.rst index 88de4ce0..903ca34d 100644 --- a/Programming_Guides/HIP-FAQ.rst +++ b/Programming_Guides/HIP-FAQ.rst @@ -286,7 +286,7 @@ Yes. Most HIP data structures (hipStream_t, hipEvent_t) are typedefs to CUDA equ hipErrorToCudaError hipCUDAErrorTohipError hipCUResultTohipError -If platform portability is important, use #ifdef **HIP_PLATFORM_NVCC** to guard the CUDA-specific code. +If platform portability is important, use `#ifdef __HIP_PLATFORM_NVIDIA__` to guard the CUDA-specific code.