From bceb8949c7cfec279b9d12083537116d2da2b335 Mon Sep 17 00:00:00 2001 From: Brecht Carlier Date: Wed, 14 Dec 2016 21:41:21 +0100 Subject: [PATCH] Update hip_faq.md Fixed navigation and list. [ROCm/clr commit: cc73dd4ed53ac785d2019fe893989292815f035d] --- projects/clr/hipamd/docs/markdown/hip_faq.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/projects/clr/hipamd/docs/markdown/hip_faq.md b/projects/clr/hipamd/docs/markdown/hip_faq.md index 7a41e38bd4..0b79976988 100644 --- a/projects/clr/hipamd/docs/markdown/hip_faq.md +++ b/projects/clr/hipamd/docs/markdown/hip_faq.md @@ -10,7 +10,7 @@ - [What specific version of CUDA does HIP support?](#what-specific-version-of-cuda-does-hip-support) - [What libraries does HIP support?](#what-libraries-does-hip-support) - [How does HIP compare with OpenCL?](#how-does-hip-compare-with-opencl) -- [How does porting CUDA to HIP compare to porting CUDA to OpenCL?] +- [How does porting CUDA to HIP compare to porting CUDA to OpenCL?](#how-does-porting-cuda-to-hip-compare-to-porting-cuda-to-opencl) - [What hardware does HIP support?](#what-hardware-does-hip-support) - [Does Hipify automatically convert all source code?](#does-hipify-automatically-convert-all-source-code) - [What is NVCC?](#what-is-nvcc) @@ -53,7 +53,6 @@ At a high-level, the following features are not supported: - Graphics interoperation with OpenGL or Direct3D - CUDA Driver API (Under Development) - CUDA IPC Functions (Under Development) - - CUDA array, mipmappedArray and pitched memory - MemcpyToSymbol functions - Queue priority controls @@ -196,8 +195,8 @@ HIP will set the platform to HCC if it sees that the AMD graphics driver is inst Sometimes this isn't what you want - you can force HIP to recognize the platform by setting HIP_PLATFORM to hcc (or nvcc) ``` export HIP_PLATFORM=hcc - ``` + One symptom of this problem is the message "error: 'unknown error'(11) at square.hipref.cpp:56". This can occur if you have a CUDA installation on an AMD platform, and HIP incorrectly detects the platform as nvcc. HIP may be able to compile the application using the nvcc tool-chain, but will generate this error at runtime since the platform does not have a CUDA device. The fix is to set HIP_PLATFORM=hcc and rebuild the issue. If you see issues related to incorrect platform detection, please file an issue with the GitHub issue tracker so we can improve HIP's platform detection logic.