improved error returns for hipHostRegister/UnRegister functions

Bu işleme şunda yer alıyor:
Aditya Atluri
2016-04-15 10:42:31 -05:00
ebeveyn 26ee986774
işleme e8902a6e20
3 değiştirilmiş dosya ile 6 ekleme ve 4 silme
+2
Dosyayı Görüntüle
@@ -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;