aclrtCreateStream

Description

Creates a stream in the calling process or thread. This API is synchronous.

Restrictions

Prototype

aclError aclrtCreateStream(aclrtStream *stream)

Parameters

Parameter

Input/Output

Description

stream

Output

Stream pointer.

Returns

0 on success; else, failure.

See Also

For details about the API call sequence and example, see Runtime Resource Allocation and Deallocation.