aclrtCreateStreamV2

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Creates a stream. Stream configurations can be added during stream creation.

Restrictions

Prototype

aclError aclrtCreateStreamV2(aclrtStream *stream, const aclrtStreamConfigHandle *handle)

Parameters

Parameter

Input/Output

Description

stream

Output

Stream pointer.

handle

Input

Pointer to the stream configuration object. The value must be the same as the value of handle in aclrtSetStreamConfigOpt.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.