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

* [docs] Update error codes for hipGetDevice

* Move up out ptr check


[ROCm/hip commit: b3161e9fa0]
이 커밋은 다음에 포함됨:
Rahul Garg 작성하고 Maneesh Gupta가 2019-11-20 21:35:27 +05:30를 커밋함
1 부모 27112bbdf0
커밋 7e75cf12df
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
*/