Added canMapHostMemory feature

This commit is contained in:
Aditya Atluri
2016-03-05 13:06:37 -06:00
parent 1e4d1002a0
commit 8c3777d317
2 changed files with 21 additions and 0 deletions
@@ -177,6 +177,7 @@ inline static hipError_t hipDeviceGetProperties(hipDeviceProp_t *p_prop, int dev
p_prop->l2CacheSize = cdprop.l2CacheSize ;
p_prop->maxThreadsPerMultiProcessor = cdprop.maxThreadsPerMultiProcessor ;
p_prop->computeMode = cdprop.computeMode ;
p_prop->canMapHostMemory = cdprop.canMapHostMemory;
// Same as clock-rate:
p_prop->clockInstructionRate = cdprop.clockRate;