From 596fa95c9b87408b190ccda3be18efcb3f6cf2b5 Mon Sep 17 00:00:00 2001 From: Sarbojit Sarkar Date: Tue, 22 Sep 2020 03:20:02 -0400 Subject: [PATCH] SWDEV-252337: Fix for V100 compilation issue Change-Id: Ib57ff3ac28f0a581f395f32181974e64eca6d858 [ROCm/clr commit: 7da8264b7c492444ff98fbb2869bbc03f9d43361] --- projects/clr/hipamd/docs/markdown/hip_faq.md | 2 +- projects/clr/hipamd/include/hip/nvcc_detail/hip_runtime_api.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/clr/hipamd/docs/markdown/hip_faq.md b/projects/clr/hipamd/docs/markdown/hip_faq.md index 8aa3daa239..90f0bc3d54 100644 --- a/projects/clr/hipamd/docs/markdown/hip_faq.md +++ b/projects/clr/hipamd/docs/markdown/hip_faq.md @@ -247,4 +247,4 @@ The workaround is to explicitly add the keyword of "static" before any functions Product of block.x, block.y, and block.z should be less than 1024. ### Are __shfl_*_sync functions supported on HIP platform? -__shfl_*_sync is not supported on HIP but for nvcc path CUDA 9.0 and above all shuffle calls get redirected to it's sync version. +__shfl_*_sync is not supported on HIP but for nvcc path CUDA 9.0 and above all shuffle calls get redirected to it's sync version. \ No newline at end of file diff --git a/projects/clr/hipamd/include/hip/nvcc_detail/hip_runtime_api.h b/projects/clr/hipamd/include/hip/nvcc_detail/hip_runtime_api.h index faa0bf7d7b..ce1469804e 100755 --- a/projects/clr/hipamd/include/hip/nvcc_detail/hip_runtime_api.h +++ b/projects/clr/hipamd/include/hip/nvcc_detail/hip_runtime_api.h @@ -26,6 +26,7 @@ THE SOFTWARE. #include #include #include +#include #ifdef __cplusplus extern "C" {