improved error returns for hipHostRegister/UnRegister functions

このコミットが含まれているのは:
Aditya Atluri
2016-04-15 10:42:31 -05:00
コミット e8902a6e20
3個のファイルの変更、6行の追加、4行の削除
+2
ファイルの表示
@@ -159,6 +159,8 @@ typedef enum hipError_t {
,hipErrorPeerAccessAlreadyEnabled ///< Peer access was already enabled from the current device.
,hipErrorRuntimeMemory ///< HSA runtime memory call returned error. Typically not seen in production systems.
,hipErrorRuntimeOther ///< HSA runtime call other than memory returned error. Typically not seen in production systems.
,hipErrorHostMemoryAlreadyRegistered ///< Produced when trying to lock a page-locked memory.
,hipErrorHostMemoryNotRegistered ///< Produced when trying to unlock a non-page-locked memory.
,hipErrorTbd ///< Marker that more error codes are needed.
} hipError_t;