From 4b3889b47e9e1661c1067743248c302c7029be7d Mon Sep 17 00:00:00 2001 From: Evgeny Mankov Date: Thu, 12 Sep 2019 18:51:25 +0300 Subject: [PATCH] [HIPIFY] Add unsupported fp16 functions --- hipamd/hipify-clang/src/CUDA2HIP_Device_functions.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hipamd/hipify-clang/src/CUDA2HIP_Device_functions.cpp b/hipamd/hipify-clang/src/CUDA2HIP_Device_functions.cpp index 6600c152c0..af48279a95 100644 --- a/hipamd/hipify-clang/src/CUDA2HIP_Device_functions.cpp +++ b/hipamd/hipify-clang/src/CUDA2HIP_Device_functions.cpp @@ -149,4 +149,14 @@ const std::map CUDA_DEVICE_FUNC_MAP{ {"__vnegss4", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}}, {"__vabsdiffs4", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}}, {"__vsads4", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}}, + // fp16 functions + {"__shfl_sync", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}}, + {"__shfl_up_sync", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}}, + {"__shfl_down_sync",{"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}}, + {"__shfl_xor_sync", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}}, + {"__shfl_sync", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}}, + {"__shfl_up_sync", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}}, + {"__shfl_down_sync",{"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}}, + {"__shfl_xor_sync", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}}, + {"__shfl_xor_sync", {"", "", CONV_DEVICE_FUNC, API_RUNTIME, UNSUPPORTED}}, };