1. 22 3月, 2021 2 次提交
    • M
      feat(cmake/arm/cuda): support cmake arm with cuda, · 914af286
      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
      914af286
    • M
      build(cuda): support cu111 build · 0e3a6329
      Megvii Engine Team 提交于
      GitOrigin-RevId: b3067ba4d5f1225048838e4b2460d858c475b75e
      0e3a6329
  2. 23 1月, 2021 1 次提交
    • M
      fix(cmake/whl): reduce wheel size · ae8b38f6
      Megvii Engine Team 提交于
      as some reason: some version of trt/cudnn need
      -Wl,--whole-archive attribute to fix cuda issue,
      target A(CMAKE OBJECT,eg megbrain/megdnn): -Wl,--whole-archive depend on trt/cudnn
      target B(SHARED LIBS,eg libmegengine.so) --> A with `PUBLIC` depends
      target C(SHARED LIBS,eg _impertive.so) --> B with `PUBLIC` depends,
      then ld will force link fatbin section into C, which will be undesired
      
      what`s more, attribute PUBLIC/PRIVATE do not take effect
      to OBJECT library(megbrain/megdnn)
      
      what`s more, megengine/megengine_export have to PUBLIC for
      mgb/imperative target, as SRC/include depends
      
      so we pull cudalib depend from megbrain/megdnn to
      megengine/megengine_export on linux os, to finall
      target at windows os, for example lar on windows
      
      GitOrigin-RevId: b278a69e1cdcc17cfd22da80247af3fe30f6d4e8
      ae8b38f6
  3. 15 1月, 2021 1 次提交
  4. 11 1月, 2021 3 次提交
  5. 18 12月, 2020 1 次提交
  6. 27 11月, 2020 1 次提交
  7. 23 11月, 2020 1 次提交
  8. 20 11月, 2020 1 次提交
  9. 26 10月, 2020 1 次提交
  10. 13 10月, 2020 5 次提交
  11. 17 9月, 2020 4 次提交
  12. 16 9月, 2020 4 次提交
  13. 15 9月, 2020 2 次提交
  14. 29 8月, 2020 1 次提交
  15. 25 8月, 2020 5 次提交
  16. 05 8月, 2020 3 次提交
    • M
      feat(mge/imperative): name so lib · 0f9dec68
      Megvii Engine Team 提交于
      GitOrigin-RevId: ccfdfaf59fb56db4337cc0987046eccec69e7118
      0f9dec68
    • M
      feat(dnn/arm): add cpuinfo runtime check for x86 and arm · 324af878
      Megvii Engine Team 提交于
      GitOrigin-RevId: c2020a344ef286c6104d78525e52eb4a1e86ab82
      324af878
    • M
      fix(cmake/cross-build): misc fix · 14a32ae1
      Megvii Engine Team 提交于
      1: fix cmake cross-ios failed caused by df118a87
         build static lib for APPLE define for XCODE third_party framework including require
      
      2: megbrain_test/megdnn_test build when MGE_INFERENCE_ONLY=ON
         now u can build megbrain_test/megdnn_test by:
         EXTRA_CMAKE_ARGS="-DMGE_WITH_TEST=ON" ./scripts/cmake-build/xxx.sh
         example macos-cross-ios build megdnn_test for IOS by
         EXTRA_CMAKE_ARGS="-DMGE_WITH_TEST=ON" ./scripts/cmake-build/cross_build_ios_arm_inference.sh
      
      3: reuse host flatc build when cross build mode
      GitOrigin-RevId: 132f4bf893567bdb1d54de506449950513a5841f
      14a32ae1
  17. 04 8月, 2020 1 次提交
  18. 23 7月, 2020 1 次提交
  19. 21 7月, 2020 1 次提交
    • X
      fix(mge/build): update cmake_minimum_required VERSION · d0d7485a
      Xiao-Wei Chai CAO 提交于
      Fixed according to the case mentioned in Issue #57 opened by @zjd1988 .   
      
      ```
      Policy "CMP0086" is not known to this version of CMake. Starting with CMake 3.14, UseSWIG passes option -module <module_name> to SWIG compiler if the file property SWIG_MODULE_NAME is specified. This policy provides compatibility with projects that expect the legacy behavior.
      ```
      d0d7485a
  20. 20 7月, 2020 1 次提交