2
0

improved error returns for hipHostRegister/UnRegister functions

Este cometimento está contido em:
Aditya Atluri
2016-04-15 10:42:31 -05:00
ascendente 26ee986774
cometimento e8902a6e20
3 ficheiros modificados com 6 adições e 4 eliminações
+2
Ver ficheiro
@@ -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;