From b0664a0087e4e96e753eb591be6c85758e7af3ff Mon Sep 17 00:00:00 2001 From: Sourabh Betigeri Date: Mon, 26 Oct 2020 09:39:49 -0700 Subject: [PATCH] SWDEV-255694: Include attributes - hipFuncAttributePreferredSharedMemoryCarveout and hipFuncAttributeMaxDynamicSharedMemorySize Change-Id: I3569859e6db0c59a10a76c8ea356d4bc0a0bb906 --- hipamd/include/hip/nvcc_detail/hip_runtime_api.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hipamd/include/hip/nvcc_detail/hip_runtime_api.h b/hipamd/include/hip/nvcc_detail/hip_runtime_api.h index 61f020cf17..faf66d4efa 100755 --- a/hipamd/include/hip/nvcc_detail/hip_runtime_api.h +++ b/hipamd/include/hip/nvcc_detail/hip_runtime_api.h @@ -307,6 +307,8 @@ typedef enum cudaDeviceP2PAttr hipDeviceP2PAttr; #define hipDevP2PAttrAccessSupported cudaDevP2PAttrAccessSupported #define hipDevP2PAttrNativeAtomicSupported cudaDevP2PAttrNativeAtomicSupported #define hipDevP2PAttrHipArrayAccessSupported cudaDevP2PAttrCudaArrayAccessSupported +#define hipFuncAttributeMaxDynamicSharedMemorySize cudaFuncAttributeMaxDynamicSharedMemorySize +#define hipFuncAttributePreferredSharedMemoryCarveout cudaFuncAttributePreferredSharedMemoryCarveout typedef CUmodule hipModule_t; typedef CUfunction hipFunction_t;