MMegvii Engine Teamfeat(opencl/bazel): support bazel build with ocl only
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(opencl/bazel): support bazel build with ocl only how to use: * bazel xxxxx --define enable_opencl_build_only=1 * EXTRA_CMAKE_ARGS="-DMGE_WITH_OPENCL=ON -DMGE_OPENCL_SEARCH_ALGO=ON" -DMGE_WITH_OPENCL_ONLY=ON -DMGE_ENABLE_EXCEPTIONS=OFF" ./scripts/cmake-build/cross_build_android_arm_inference.sh * fix cpp_redis build failed without exceptions * add cmake option: MGE_WITH_OPENCL_ONLY to build only support opencl to reduce binary size: a: this option always used to case of do not want to use midout b: this option also compat with midout * why do not build without file: dnn/src/naive/* caused by when load model stage, compnode is 'cpu', which will use some common code at dnn/src/naive/* GitOrigin-RevId: 840b094a13ff20cf8619aac664bb21bcd1f28047 | 3 年前 | |
fix(mgb/fastrun): fix megbrain fastrun memory overflow bug GitOrigin-RevId: f56aa5a5059ef6c5ea9d51fe31d89a0d778aa702 | 4 年前 |