From 4b271ec013cd21f593e38c009af626342df68a37 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 --- include/hip_runtime_api.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hip_runtime_api.h b/include/hip_runtime_api.h index 61e2b17407..f73ebeeb9b 100644 --- a/include/hip_runtime_api.h +++ b/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;