corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs
[ROCm/hip commit: d3ba2b9782]
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -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;
|
||||
}
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user