From 35e394cab1b85abfc7ab3d10b68a29a4645bf64f 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 [ROCm/hip commit: 81ca27783b8c11220db7c698256232f92f09dc9a] --- projects/hip/include/hip/nvcc_detail/hip_runtime_api.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h b/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h index 61f020cf17..faf66d4efa 100755 --- a/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h +++ b/projects/hip/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;