aclrtGetStreamAttribute
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Obtains the stream attribute value.
Prototype
1 | aclError aclrtGetStreamAttribute(aclrtStream stream, aclrtStreamAttr stmAttrType, aclrtStreamAttrValue *value) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
stream |
Input |
Stream. For details about the type definition, see aclrtStream. Products differ in their support for default streams (setting this parameter to NULL): Atlas 350 Accelerator Card: not supported |
stmAttrType |
Input |
Attribute type. For details about the type definition, see aclrtStreamAttr. |
value |
Output |
Attribute value. For details about the type definition, see aclrtStreamAttrValue. |
Returns
0 on success; otherwise, failure. For details, see aclError.