Correct return code of isAMDGpu()
Also, correct some comments, whitespace.
这个提交包含在:
1 父节点
ae7ca83920
当前提交
53489c1f3d
2 个文件已更改
+7
-2
没有与搜索条件相匹配的文件
@@ -50,7 +50,6 @@ extern "C" {
|
||||
#include <stdint.h>
|
||||
#endif // __cplusplus
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
/** \file rocm_smi.h
|
||||
@@ -113,6 +112,12 @@ typedef enum {
|
||||
RSMI_STATUS_UNKNOWN_ERROR = 0xFFFFFFFF, //!< An unknown error occurred
|
||||
} rsmi_status_t;
|
||||
|
||||
/**
|
||||
* @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
|
||||
|
||||
在新工单中引用
屏蔽一个用户