Skip to content

OpenCV cannops error: driver error, feature not supported #3945

@SHL2023

Description

@SHL2023

Hi ,I created a Docker container on Atlas 500 A2(ascend310b), installed cann-toolkit_7.0.0 and operator package cann-kernels-310b_7.0.0 inside it, then compiled OpenCV 4.10.0 with the cannops module. When running the sample program, it reported an error:

terminate called after throwing an instance of 'cv::Exception' 

  what():  OpenCV(4.10.0) /home/opencvcompile/opencv_contrib-4.10.0/modules/cannops/src/cann_call.cpp:97: error: (-2:Unspecified error) in function 'aclrtMemcpy2dWarpper' 

> EL0014: The operation is unsupported. 

>         TraceBack (most recent call last): 

>         rtMemcpy2d execute failed, reason=[driver error:feature not support][FUNC:FuncErrorReason][FILE:error_message_manage.cc][LINE:50] 

>         [Synchronized][Memcpy]synchronized memcpy failed, kind = 1, runtime result = 207000[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161] 

Image

Could you take a look?@hipudding

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions