corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs
Tá an tiomantas seo le fáil i:
1 tuismitheoir
411154f93f
tiomantas
8a21b42943
24 comhad athraithe
+27
-27
Níor tháinig aon chomhaid le do chuardach
@@ -53,7 +53,7 @@ int main(int argc, char *argv[])
|
||||
size_t Nbytes = N * sizeof(float);
|
||||
|
||||
hipDeviceProp_t props;
|
||||
CHECK(hipDeviceGetProperties(&props, 0/*deviceID*/));
|
||||
CHECK(hipGetDeviceProperties(&props, 0/*deviceID*/));
|
||||
printf ("info: running on device %s\n", props.name);
|
||||
|
||||
printf ("info: allocate host mem (%6.2f MB)\n", 2*Nbytes/1024.0/1024.0);
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir