corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs

[ROCm/hip commit: d3ba2b9782]
Tá an tiomantas seo le fáil i:
Aditya Atluri
2016-03-06 08:31:04 -06:00
tuismitheoir 3c91a6d0a7
tiomantas f1b8758919
D'athraigh 24 comhad le 27 breiseanna agus 27 scriosta
+1 -1
Féach ar an gComhad
@@ -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;
}