diff --git a/src/tim/vx/internal/ovxlib_bin_build.md b/src/tim/vx/internal/ovxlib_bin_build.md new file mode 100644 index 0000000..427d09b --- /dev/null +++ b/src/tim/vx/internal/ovxlib_bin_build.md @@ -0,0 +1,16 @@ +# How to prebuild VXC binary file for shader scripts in ovxlib? + +Generally shader scripts will be compiled into VXC binary file on app run time. But this compilation will cost a lot of time. If we prebuild VXC binary file, this time will be saved. + +## prepare + +Full driver source is needed. You MUST build driver firstly, and make sure `vcCompiler` is build properly. + +## build + +``` +cd tim/vx/internal/ +./ovxlib_bin_build.sh +``` + +After build, you will find many `.h` files in `/include/libnnext/vx_bin`. These `.h` files will be compiled into libtim-vx.so when build TIM-VX.