From 2f61b0c70855c809cc77bca33a24c6b12732bf37 Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Sat, 5 Mar 2016 19:30:29 -0600 Subject: [PATCH] Added canMapHostMemory to hipDeviceProp [ROCm/clr commit: 1e4d1002a0970ee9ed3249fd899ce8b4edc8dce5] --- projects/clr/hipamd/include/hip_runtime_api.h | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/clr/hipamd/include/hip_runtime_api.h b/projects/clr/hipamd/include/hip_runtime_api.h index 61e2b17407..f73ebeeb9b 100644 --- a/projects/clr/hipamd/include/hip_runtime_api.h +++ b/projects/clr/hipamd/include/hip_runtime_api.h @@ -97,6 +97,7 @@ typedef struct hipDeviceProp_t { int pciDeviceID; ///< PCI Device ID. size_t maxSharedMemoryPerMultiProcessor; ///< Maximum Shared Memory Per Multiprocessor. int isMultiGpuBoard; ///< 1 if device is on a multi-GPU board, 0 if not. + int canMapHostMemory; ///< Check whether HIP can map host memory } hipDeviceProp_t;