nihui
nihui
Data types and layouts depend on the properties of the cpu and gpu, as well as the user's option settings. This is usually different on the cpu and gpu. For...
`cmake -DNCNN_BUILD_TOOLS=OFF` 禁用工具编译即可 模型转换工具可以直接 `pip install pnnx` 安装,支持 pytorch / onnx 转换
use the latest ncnn release delete all the settings code you presented
yep, A53 is a slow cpu and has no fp16 capability, its micro architecture is very old :]
runtime simd and relaxed-simd discovery ```c #include #include EM_JS(int, check_simd_support, (), { return WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11])); }); EM_JS(int, check_relaxed_simd_support, (), { return WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,15,1,13,0,65,1,253,15,65,2,253,15,253,128,2,11])); }); int main() { printf("simd = %d\n",...
wasm code coverage ```shell # compile with --coverage -fprofile-arcs -ftest-coverage -g emcc test.cpp -c -o test.o --coverage -fprofile-arcs -ftest-coverage -g emcc simplegcov.cpp -c -o simplegcov.o --coverage -fprofile-arcs -ftest-coverage -g #...
In fact, even if simd/relaxed-simd discovery is possible, wasm binary distribution is problematic. The wasm runtime requires compilation when loading wasm, which will fully load the basic/simd/relaxed-simd bytecode in wasm,...
hi, ncnn yolo11 examples are on board https://github.com/Tencent/ncnn/tree/master/examples https://github.com/nihui/ncnn-android-yolo11 model conversion guide (zh) https://zhuanlan.zhihu.com/p/1903414797195781701
push constant changes for ``` error: unknown SPIR-V storage class: 9 ``` ```glsl layout (push_constant) uniform parameter { int dims; int w; int h; int c; int cstep; } p;...
@liuyunfei666 https://github.com/nihui/ncnn-android-ppocrv5 这个工程参考下?