corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs

Этот коммит содержится в:
Aditya Atluri
2016-03-06 08:31:04 -06:00
родитель 411154f93f
Коммит 8a21b42943
24 изменённых файлов: 27 добавлений и 27 удалений
+1 -1
Просмотреть файл
@@ -52,7 +52,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);
CHECK(test_hipDeviceGetAttribute(deviceId, hipDeviceAttributeMaxThreadsPerBlock, props.maxThreadsPerBlock));