Correct return code of isAMDGpu()
Also, correct some comments, whitespace.
이 커밋은 다음에 포함됨:
1 부모
ae7ca83920
커밋
53489c1f3d
2 파일이 변경됨
+7
-2
검색과 일치하는 파일 없음
+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;
|
||||
|
||||
새 이슈에서 참조
사용자 차단