Merge branch 'master' into master

[ROCm/amdsmi commit: ab740f9828]
这个提交包含在:
Chris Freehill 编写, GitHub 于 2019-05-13 18:51:36 -05:00 提交
2 父节点 3ec7e0a6c5 ddd52360dd
当前提交 3a9f0b8572
2 个文件已更改
+3 -3

没有与搜索条件相匹配的文件

+2 -2
查看文件
@@ -50,7 +50,6 @@ extern "C" {
#include <stdint.h>
#endif // __cplusplus
#include <stdint.h>
#include <stddef.h>
/** \file rocm_smi.h
@@ -115,9 +114,10 @@ typedef enum {
/**
* @brief Initialization flags
*
*
* Initialization flags may be OR'd together and passed to ::rsmi_init().
*/
typedef enum {
RSMI_INIT_FLAG_ALL_GPUS = 0x1, //!< Attempt to add all GPUs found
//!< (including non-AMD) to the list
+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;