Update error codes for hipGetDevice for doxygen and move up null check (#1668)
* [docs] Update error codes for hipGetDevice * Move up out ptr check
This commit is contained in:
committed by
Maneesh Gupta
orang tua
57b1b03261
melakukan
13c2a31d7e
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user