corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs

Cette révision appartient à :
Aditya Atluri a révisé 2016-03-06 08:31:04 -06:00
1 Parent 2fb97ae4d8
révision 0155e5b879
3 fichiers modifiés
+3 -3

Aucun fichier ne correspond à votre recherche

+1 -1
Voir le fichier
@@ -60,7 +60,7 @@ int main(int argc, char *argv[])
int deviceId;
CHECK (hipGetDevice(&deviceId));
hipDeviceProp_t props;
CHECK(hipDeviceGetProperties(&props, deviceId));
CHECK(hipGetDeviceProperties(&props, deviceId));
printf ("info: running on device #%d %s\n", deviceId, props.name);