Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2019 12:58:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 241114] science/ncnn: enable Vulkan support
Message-ID:  <bug-241114-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241114

            Bug ID: 241114
           Summary: science/ncnn: enable Vulkan support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: jbeich@FreeBSD.org
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

Created attachment 208151
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D208151&action=
=3Dedit
v0

See
https://github.com/nihui/waifu2x-ncnn-vulkan/issues/5#issuecomment-480669056

$ make clean all -C /usr/ports/graphics/waifu2x-ncnn-vulkan
[...]
In file included from main.cpp:62:
./waifu2x.h:35:11: error: no type named 'Pipeline' in namespace 'ncnn'
    ncnn::Pipeline* waifu2x_preproc;
    ~~~~~~^
./waifu2x.h:36:11: error: no type named 'Pipeline' in namespace 'ncnn'
    ncnn::Pipeline* waifu2x_postproc;
    ~~~~~~^
main.cpp:510:11: error: no member named 'create_gpu_instance' in namespace
'ncnn'
    ncnn::create_gpu_instance();
    ~~~~~~^
main.cpp:516:27: error: no member named 'get_gpu_count' in namespace 'ncnn';
did you mean 'get_cpu_count'?
    int gpu_count =3D ncnn::get_gpu_count();
                    ~~~~~~^~~~~~~~~~~~~
                          get_cpu_count
/usr/local/include/ncnn/cpu.h:29:5: note: 'get_cpu_count' declared here
int get_cpu_count();
    ^
main.cpp:521:15: error: no member named 'destroy_gpu_instance' in namespace
'ncnn'
        ncnn::destroy_gpu_instance();
        ~~~~~~^
main.cpp:525:33: error: no member named 'get_gpu_info' in namespace 'ncnn'
    int gpu_queue_count =3D ncnn::get_gpu_info(gpuid).compute_queue_count;
                          ~~~~~~^
main.cpp:599:11: error: no member named 'destroy_gpu_instance' in namespace
'ncnn'
    ncnn::destroy_gpu_instance();
    ~~~~~~^
7 errors generated.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241114-7788>