Correct return code of isAMDGpu()

Also, correct some comments, whitespace.
Этот коммит содержится в:
Chris Freehill committed 2019-05-13 18:02:03 -05:00
1 родитель ae7ca83920
Коммит 53489c1f3d
2 files changed
+7 -2

No files matched your search

+1 -1
Просмотреть файл
@@ -348,7 +348,7 @@ static bool isAMDGPU(std::string dev_path) {
fs.open(vend_path);
if (!fs.is_open()) {
return errno;
return false;
}
uint32_t vendor_id;