Refactor to isolate staging buffer code.

[ROCm/hip commit: e7586adb33]
Этот коммит содержится в:
Ben Sander
2016-03-17 00:20:56 -05:00
родитель 0ae7bc7e14
Коммит fc27c61c58
5 изменённых файлов: 61 добавлений и 47 удалений
+2
Просмотреть файл
@@ -153,6 +153,8 @@ typedef enum hipError_t {
,hipErrorNoDevice ///< Call to hipGetDeviceCount returned 0 devices
,hipErrorNotReady ///< Indicates that asynchronous operations enqueued earlier are not ready. This is not actually an error, but is used to distinguish from hipSuccess (which indicates completion). APIs that return this error include hipEventQuery and hipStreamQuery.
,hipErrorUnknown ///< Unknown error.
,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.
,hipErrorTbd ///< Marker that more error codes are needed.
} hipError_t;