Add per-stream pool for hsa_signals.

This commit is contained in:
Ben Sander
2016-02-16 01:59:13 -06:00
rodzic 731a2a58d3
commit 5d721a2649
3 zmienionych plików z 154 dodań i 60 usunięć
@@ -115,7 +115,7 @@ enum hipMemcpyKind {
// The handle allows the async commands to use the stream even if the parent hipStream_t goes out-of-scope.
typedef struct ihipStream_t * hipStream_t;
typedef class ihipStream_t * hipStream_t;
/*
+3
Wyświetl plik
@@ -134,6 +134,7 @@ typedef struct hipPointerAttribute_t {
* @enum
* @ingroup Enumerations
*/
// Developer note - when updating these, update the hipErrorName and hipErrorString functions
typedef enum hipError_t {
hipSuccess = 0 ///< Successful completion.
,hipErrorMemoryAllocation ///< Memory allocation error.
@@ -143,6 +144,8 @@ typedef enum hipError_t {
,hipErrorInvalidValue ///< One or more of the parameters passed to the API call is NULL or not in an acceptable range.
,hipErrorInvalidResourceHandle ///< Resource handle (hipEvent_t or hipStream_t) invalid.
,hipErrorInvalidDevice ///< DeviceID must be in range 0...#compute-devices.
,hipErrorInvalidMemcpyDirection ///< Invalid memory copy direction
,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.