OpenCV  5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
Classes | Functions

Detailed Description

Classes

class  cv::cann::AscendEvent
 AscendEvent to synchronize between different streams. More...
 
struct  cv::cann::AscendEventAccessor
 Class that enables getting aclrtAscendEvent from cann::AscendEvent. More...
 
class  cv::cann::AscendMat
 
class  cv::cann::AscendStream
 In AscendCL Stream(AscendStream) is a task queue. Stream is used to manage the parallelism of tasks. The tasks inside a Stream are executed sequentially, that is, the Stream executes sequentially according to the sent tasks; the tasks in different Streams are executed in parallel. More...
 
struct  cv::cann::AscendStreamAccessor
 Class that enables getting aclrtAscendStream from cann::AscendStream. More...
 

Functions

AscendStream cv::cann::wrapStream (size_t AscendStreamAddress)
 Bindings overload to create a Stream object from the address stored in an existing CANN Runtime API stream pointer (aclrtStream).
 

Function Documentation

◆ wrapStream()

AscendStream cv::cann::wrapStream ( size_t  AscendStreamAddress)

#include <opencv2/cann.hpp>

Bindings overload to create a Stream object from the address stored in an existing CANN Runtime API stream pointer (aclrtStream).

Parameters
AscendStreamAddressMemory address stored in a CANN Runtime API stream pointer (aclrtStream). The created Stream object does not perform any allocation or deallocation and simply wraps existing raw CANN Runtime API stream pointer.
Note
Overload for generation of bindings only, not exported or intended for use internally fro C++.