Update error codes for hipGetDevice for doxygen and move up null check (#1668)

* [docs] Update error codes for hipGetDevice

* Move up out ptr check
这个提交包含在:
Rahul Garg 编写, Maneesh Gupta 于 2019-11-20 21:35:27 +05:30 提交
1 父节点 8519a1411c
当前提交 b3161e9fa0
2 个文件已更改
+7 -9

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

+1 -1
查看文件
@@ -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
*/