corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs

[ROCm/hip commit: d3ba2b9782]
Αυτή η υποβολή περιλαμβάνεται σε:
Aditya Atluri
2016-03-06 08:31:04 -06:00
γονέας 3c91a6d0a7
υποβολή f1b8758919
24 αρχεία άλλαξαν με 27 προσθήκες και 27 διαγραφές
@@ -15,7 +15,7 @@ float *Ad, *Bd, *Cd;
hipDeviceProp_t prop;
int device;
HIPCHECK(hipGetDevice(&device));
HIPCHECK(hipDeviceGetProperties(&prop, device));
HIPCHECK(hipGetDeviceProperties(&prop, device));
if(prop.canMapHostMemory != 1){
std::cout<<"Exiting..."<<std::endl;
}