Update error codes for hipGetDevice for doxygen and move up null check (#1668)
* [docs] Update error codes for hipGetDevice * Move up out ptr check
这个提交包含在:
1 父节点
8519a1411c
当前提交
b3161e9fa0
2 个文件已更改
+7
-9
没有与搜索条件相匹配的文件
@@ -391,7 +391,7 @@ hipError_t hipSetDevice(int deviceId);
|
||||
* This device is used implicitly for HIP runtime APIs called by this thread.
|
||||
* hipGetDevice returns in * @p device the default device for the calling host thread.
|
||||
*
|
||||
* @returns #hipSuccess
|
||||
* @returns #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue
|
||||
*
|
||||
* @see hipSetDevice, hipGetDevicesizeBytes
|
||||
*/
|
||||
|
||||
在新工单中引用
屏蔽一个用户