Giter Site home page Giter Site logo

Comments (5)

jxt1234 avatar jxt1234 commented on June 8, 2024

参见 FAQ 里面 gpu 项,简单起见可以加上 -DMNN_SEP_BUILD=false

from mnn.

jxt1234 avatar jxt1234 commented on June 8, 2024

https://mnn-docs.readthedocs.io/en/latest/faq.html

from mnn.

roachsinai avatar roachsinai commented on June 8, 2024
image

@jxt1234 大佬 mnn-docs 的颜色主题能不能调整下。点击过的链接根本看不清楚。

from mnn.

f745311 avatar f745311 commented on June 8, 2024

加入了: -DMNN_SEP_BUILD=OFF

cmake .. \
-DMNN_OPENCL=ON \
-DMNN_VULKAN=ON \
-DMNN_BUILD_BENCHMARK=ON \
-DCMAKE_SYSTEM_NAME=Linux \
-DCMAKE_SYSTEM_VERSION=1 \
-DCMAKE_SYSTEM_PROCESSOR=aarch64 \
-DCMAKE_C_COMPILER=$cross_compile_toolchain/bin/aarch64-linux-gnu-gcc \
-DCMAKE_CXX_COMPILER=$cross_compile_toolchain/bin/aarch64-linux-gnu-g++ \
-DMNN_SEP_BUILD=OFF

也在benchmark.cpp 的 main中加入了

    auto handle_cl = dlopen("libMNN_CL.so", RTLD_NOW);
    auto handle_v = dlopen("libMNN_Vulkan.so", RTLD_NOW);

結果

opencl 一樣正常

截圖 2024-04-09 下午6 14 59

vulkan還是不能使用

image

from mnn.

jxt1234 avatar jxt1234 commented on June 8, 2024

这个是设备上的 vulkan 驱动不支持,估计是驱动有问题或者设备不支持

from mnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.