@@ -56,12 +56,9 @@ params:
5656 name : ppMem
5757 desc : " [out][alloc] Pointer to allocated exportable memory."
5858returns :
59- - $X_RESULT_ERROR_INVALID_CONTEXT
60- - $X_RESULT_ERROR_INVALID_DEVICE
61- - $X_RESULT_ERROR_INVALID_NULL_HANDLE :
62- - " `(hDevice == nullptr) || (hContext == nullptr)`"
59+ - $X_RESULT_ERROR_INVALID_NULL_HANDLE
6360 - $X_RESULT_ERROR_INVALID_NULL_POINTER :
64- - " `ppMem == nullptr `"
61+ - " `NULL == ppMem `"
6562 - $X_RESULT_ERROR_UNSUPPORTED_ALIGNMENT :
6663 - " `alignment != 0 && ((alignment & (alignment-1)) != 0)`"
6764 - $X_RESULT_ERROR_INVALID_VALUE :
@@ -70,6 +67,8 @@ returns:
7067 - " `size == 0`"
7168 - $X_RESULT_ERROR_UNSUPPORTED_SIZE :
7269 - " `size` is greater than $X_DEVICE_INFO_MAX_MEM_ALLOC_SIZE."
70+ - $X_RESULT_ERROR_INVALID_CONTEXT
71+ - $X_RESULT_ERROR_INVALID_DEVICE
7372 - $X_RESULT_ERROR_UNSUPPORTED_FEATURE:DEVICE_INFO_MEMORY_EXPORT_LINEAR_MEMORY_EXPORT_SUPPORT_EXP
7473 - $X_RESULT_ERROR_OUT_OF_HOST_MEMORY
7574 - $X_RESULT_ERROR_OUT_OF_DEVICE_MEMORY
@@ -91,12 +90,11 @@ params:
9190 desc : |-
9291 [in][release] Pointer to exportable memory to be deallocated.
9392returns :
93+ - $X_RESULT_ERROR_INVALID_NULL_HANDLE
94+ - $X_RESULT_ERROR_INVALID_NULL_POINTER :
95+ - " `NULL == pMem`"
9496 - $X_RESULT_ERROR_INVALID_CONTEXT
9597 - $X_RESULT_ERROR_INVALID_DEVICE
96- - $X_RESULT_ERROR_INVALID_NULL_HANDLE :
97- - " `(hDevice == nullptr) || (hContext == nullptr)`"
98- - $X_RESULT_ERROR_INVALID_NULL_POINTER :
99- - " `pMem == nullptr`"
10098 - $X_RESULT_ERROR_INVALID_VALUE
10199 - $X_RESULT_ERROR_DEVICE_LOST
102100 - $X_RESULT_ERROR_OUT_OF_HOST_MEMORY
@@ -133,12 +131,11 @@ params:
133131 name : pMemHandleRet
134132 desc : " [out] Returned exportable handle to memory allocated in `pMem`"
135133returns :
134+ - $X_RESULT_ERROR_INVALID_NULL_HANDLE
135+ - $X_RESULT_ERROR_INVALID_NULL_POINTER :
136+ - " `NULL == pMemHandleRet || NULL == pMem`"
136137 - $X_RESULT_ERROR_INVALID_CONTEXT
137138 - $X_RESULT_ERROR_INVALID_DEVICE
138- - $X_RESULT_ERROR_INVALID_NULL_HANDLE :
139- - " `(hDevice == nullptr) || (hContext == nullptr)`"
140- - $X_RESULT_ERROR_INVALID_NULL_POINTER :
141- - " `pMemHandleRet == nullptr || pMem == nullptr`"
142139 - $X_RESULT_ERROR_INVALID_ENUMERATION
143140 - $X_RESULT_ERROR_DEVICE_LOST
144141 - $X_RESULT_ERROR_OUT_OF_HOST_MEMORY
0 commit comments