OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cann.hpp 檔案參考
#include "opencv2/core.hpp"
#include "opencv2/cann.inl.hpp"
cann.hpp 的包含依賴關係圖
此圖顯示哪些檔案直接或間接包含此檔案

類  cv::cann::AscendMat::Allocator
 
類  cv::cann::AscendEvent
 AscendEvent 用於在不同流之間同步。 更多...
 
類  cv::cann::AscendMat
 
類  cv::cann::AscendStream
 在 AscendCL 中,流(AscendStream)是一個任務佇列。 流用於管理任務的並行性。 流中的任務按順序執行,即流按照發送的任務按順序執行; 不同流中的任務並行執行。 更多...
 

名稱空間

名稱空間  cv
 
名稱空間  cv::cann
 

函式

void cv::cann::finalizeAcl ()
 終結化 AscendCL。
 
void cv::cann::finalizeDvpp ()
 終結化 DVPP 系統。
 
int32_t cv::cann::getDevice ()
 獲取當前 Ascend 裝置。
 
AscendMat cv::cann::getInputMat (InputArray src, AscendStream &stream)
 從輸入陣列獲取 Ascend 矩陣物件,如果需要,上傳矩陣記憶體。(非阻塞呼叫)
 
AscendMat cv::cann::getOutputMat (OutputArray dst, int rows, int cols, int type, AscendStream &stream)
 從輸出陣列獲取 Ascend 矩陣物件,如果需要,上傳矩陣記憶體。
 
void cv::cann::initAcl ()
 初始化 AscendCL。
 
void cv::cann::initDvpp ()
 初始化 DVPP 系統。
 
void cv::cann::resetDevice ()
 清除當前 Ascend 裝置中建立的所有上下文。
 
void cv::cann::setDevice (int device)
 選擇 Ascend NPU 裝置。
 
void cv::cann::syncOutput (const AscendMat &dst, OutputArray _dst, AscendStream &stream)
 將輸出矩陣同步到輸出陣列,如果需要,下載矩陣記憶體。
 
AscendStream cv::cann::wrapStream (size_t AscendStreamAddress)
 繫結過載,用於從儲存在現有 CANN 執行時 API 流指標 (aclrtStream) 中的地址建立流物件。