- 11 9月, 2021 1 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: 492eaf428a1ab1f8c671730af139fa12cedae3f7
-
- 06 9月, 2021 1 次提交
-
-
由 Megvii Engine Team 提交于
now, we do not depends LLVM_ENABLE_BINDINGS and LLVM_INCLUDE_DOCS module so disable it! if later depends on this module, need upgrade third_party/llvm-project/ to 12 to compat build env which install llvm-12-dev GitOrigin-RevId: 62164c0e7f0b3bb296c4b76a2a3eadd31c266421
-
- 07 8月, 2021 2 次提交
-
-
由 Megvii Engine Team 提交于
(os vesion >= sp2) build with cmake * cmake build support(xp sp2): (dbg)EXTRA_CMAKE_ARGS="-DMGE_DEPLOY_INFERENCE_ON_WINDOWS_XP_SP2=ON" ./scripts/cmake-build/host_build.sh -m -d (opt)EXTRA_CMAKE_ARGS="-DMGE_DEPLOY_INFERENCE_ON_WINDOWS_XP_SP2=ON" ./scripts/cmake-build/host_build.sh -m * cmake build support(xp sp3): (dbg)EXTRA_CMAKE_ARGS="-DMGE_DEPLOY_INFERENCE_ON_WINDOWS_XP=ON" ./scripts/cmake-build/host_build.sh -m -d (opt)EXTRA_CMAKE_ARGS="-DMGE_DEPLOY_INFERENCE_ON_WINDOWS_XP=ON" ./scripts/cmake-build/host_build.sh -m * internal behavior: will define MGB_HAVE_THREAD=0 when enable -DMGE_DEPLOY_INFERENCE_ON_WINDOWS_XP_SP2=ON * refer to https://docs.microsoft.com/en-us/cpp/build/configuring-programs-for-windows-xp?view=msvc-160 xp sp2(x86) do not support vc runtime fully, casused by KERNEL32.dll do not implement some base apis for c++ std function, for example, std::mutex/std::thread/std::condition_variable as a workround, we will disable some MegEngine features on xp sp2 env, for exampe, multi-thread etc! * about DNN_MUTEX/MGB_MUTEX/LITE_MUTEX, if your code will build in inference code (even CPU backends), please replace std::mutex to DNN_MUTEX/MGB_MUTEX, * about multi-thread, if you code need multi-thread support, please enable it when MGB_HAVE_THREAD=1 * about test build env status 1: Visual Studio 2019(MSVC version <= 14.26.28801)---- pass 2: Visual Studio 2019(MSVC version > 14.26.28801) ---- failed caused by this 'new' version will put VCR depends on win7 KERNEL32.DLL, this may be fixed at Visual Studio 2019 later version but we do not test at this MR merge point 3: Visual Studio 2017 ---------- pass 4: Visual Studio 2014 ---------- pass GitOrigin-RevId: ea6e1f8b4fea9aa03594e3af8d59708b4cdf7bdc
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: ffd6431299b2ae008fbdd1eed6458437e6b6a45f
-
- 03 6月, 2021 2 次提交
-
-
由 Megvii Engine Team 提交于
notice: if you are cross build, please follow step ---- define SRC_DIR you sdk root dir SRC_DIR=$($READLINK -f "`dirname $0`") source $SRC_DIR/megbrain/scripts/cmake-build/utils/utils.sh build_flatc $SRC_DIR/megbrain false your build code ---- GitOrigin-RevId: ad97860f5ffc1128a8c177f0822c02e240634716
-
由 Megvii Engine Team 提交于
* compat clang-cl 11 build at windows env * fix cuda/cudnn/trt copy env build failed on windows GitOrigin-RevId: 7fe2d2c0dcaabf56df1725994a41a15dd09692b6
-
- 25 5月, 2021 2 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: 85f8911736fae8c5e9b0a71629c89e78029e8c55
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: ca9f1f8e8e967565bafd65476a841c4570fb77ee
-
- 22 3月, 2021 2 次提交
-
-
由 Megvii Engine Team 提交于
* support arm-host and x86-cross-arm * fix trt myelib cmake build issue at 'trt copy env'(about 'copy env', Please refs cb92123f) about x86-cross-arm CUDA env: 1: run ./scripts/cmake-build/create_cuda_build_libs.py to prepare cuda/cudnn/trt env(download deb package info, Please refs create_cuda_build_libs.py) 2: export TRT_ROOT_DIR=xxxxx which may create by step 1 3: export CUDNN_ROOT_DIR=xxxx which may create by step 1 4: export PATH=xxxx:$PATH xxxx need create by step 1, which nvcc have relative path dir: ../targets/sbsa-linux/ GitOrigin-RevId: 440c76052aabe5b07a4b64d126e759f919c257a8
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: b3067ba4d5f1225048838e4b2460d858c475b75e
-
- 02 2月, 2021 1 次提交
-
-
由 Megvii Engine Team 提交于
`copy` env vs `normal` env: case a:`normal` env install CUDNN/TRT by package tool, eg, apt/yum, which will put include file(cudnn.h/NvInfer.h) to /usr/include etc. case b: self copy env after export CPATH with cudnn/trt include dir case c: just copy libs, not export CPATH, only export TRT_ROOT_DIR/CUDNN_ROOT_DIR at case a and case b, BUILD system can find cudnn/trt headers, but at case c, can not find. `FIX` it! what`s more, recommend install CUDA env by case a and case c, NOT recommend install by case b, which caused by CUDA SDK CPATH not friendly to split c env, for example Android AOSP build env GitOrigin-RevId: cb92123f9e58d730893fff45602d3e487b38d32c
-
- 04 12月, 2020 1 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: f59f23cb8ff17bd8120269f87ed3a6f469e9989d
-
- 27 11月, 2020 1 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: 4550cbfaa6b4e6e4a22daa8217ab12a1482c1e88
-
- 13 11月, 2020 1 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: 8bd49599b28847e51735ff57293bc16ff0033924
-
- 05 11月, 2020 2 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: 57d7cbae36ffecda9d6f9eb88fc52ec5913514d2
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: 6282d33efdcdbe4c36c3cb2ba2f8bd559ad34bba
-
- 26 10月, 2020 1 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: dd45984ccaeef39094f9a209abe490d10e54a77e
-
- 17 9月, 2020 3 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: eb6bcadf54d3111a94152c10d0fb826ca2a16d66
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: e86db34b18d75c85f7ef120481f79359dc3e1da2
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: 22362186dce22c93f4133771f01073dfe6c2b11c
-
- 16 9月, 2020 1 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: c73ed4adc37ecaf71832dd6dfb990405fb1873ab
-
- 15 9月, 2020 1 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: 861e349eb44b87a12ff12d7d1e7ac5331a6e73ef
-
- 25 8月, 2020 1 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: 4d9832e5592cb0e2e39172f0ebf52546e1e5b269
-
- 05 8月, 2020 1 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: c2020a344ef286c6104d78525e52eb4a1e86ab82
-
- 19 6月, 2020 3 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: 10ecb51947a4f4a38b050afb5f661f3411bce98b
-
由 Megvii Engine Team 提交于
Also, upgrade to CMake 3.13. The commit also contains significant refactors, as otherwise it is not possible to properly export target `megengine` to MegEngine-targets.cmake: 1. Optionally use system provided Flatbuffers. 2. Optionally use system provided MKL-DNN (Tested with Debian). 3. Refactor megbrain and megdnn targets into object libraries. 4. Set different path in BUILD_INTERFACE and INSTALL_INTERFACE of various target_include_directories. 5. Specify PUBLIC/PRIVATE on various target_link_libraries. GitOrigin-RevId: df118a879e12acdc42b56bdd7c7c71b34b0effc3
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: f401ce86033da83a91ebea3c119fc7af54a66ba0
-
- 16 6月, 2020 1 次提交
-
-
由 Megvii Engine Team 提交于
host build and cross build now cmake status: a: host build 1: windows build -- ok 2: linux build -- ok 3: macos build -- ok b: cross build 1: windows cross build arm-android -- ok 2: windows cross build arm-linux -- ok 3: linux cross build arm-android -- ok 4: linux cross build arm-linux -- ok 5: macos cross build arm-android -- ok 6: macos cross build arm-linux -- ok 7: macos cross build ios -- ok GitOrigin-RevId: f7f376fe8c522410568c304a62310df823c70b65
-
- 06 5月, 2020 1 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: 30381dec0ec65db0c00db32cde2d4228b1ed531c
-
- 25 3月, 2020 1 次提交
-
-
由 Megvii Engine Team 提交于
GitOrigin-RevId: f0c8338beb9cac953bd2d8b76710790940dc9300
-