tensor-tang
462b9b1d20
update mkldnn tag v0.10
8 years ago
tensor-tang
318fee8389
refine cblas
8 years ago
tensor-tang
2be3d32711
use shared lib when mkl
8 years ago
fengjiayi
501da57fb8
Merge pull request #3316 from wangkuiyi/remove_wget_progress_info
...
Remove wget progress info from downloading MKLML
8 years ago
Yi Wang
d777ac52bc
Simplify MKLML download command
8 years ago
Yi Wang
4b321446dc
Remove wget progress info from downloading MKLML
8 years ago
Yi Wang
af2040bc7e
Change git tag of any
8 years ago
gangliao
ec2c753c3d
Merge pull request #3290 from PaddlePaddle/cblas_new
...
Import HPC linear algebra libs as cblas target for cc_library deps
8 years ago
Yi Wang
498e9de405
Merge pull request #3286 from wangkuiyi/fix_any
...
Use PaddlePaddle fork of any
8 years ago
liaogang
2f9c443be3
fix name typo
8 years ago
liaogang
47c0116653
Import HPC linear algebra libs as cblas target
8 years ago
Yi Wang
0c2f472ca4
Use PaddlePaddle fork of any
8 years ago
Yi Wang
9283233650
Mark the reason of using a personal repo temporarily
8 years ago
Yi Wang
06ab61fd23
Use my personal version of gflags to surpress unnecessary warnings
8 years ago
Yu Yang
359e79e543
Faster Python unittest
...
* Do not use `virtualenv` in Docker
* Split unittest into many target, make them parallel
8 years ago
tensor-tang
e6f62f79c3
add meesage and cmake cache arg
8 years ago
tensor-tang
1bd64f18ed
move MKLDNN and MKLML install path to build third party path
...
and disable both when build doc and MacOS
8 years ago
qijun
5364b3944e
use cuda default stream
8 years ago
tensor-tang
95ce961cef
fix permission issue
8 years ago
tensor-tang
75f66768bb
fix the permission issue of installing mklml
8 years ago
tensor-tang
2fd43fc5a0
separate mklml download path and install path
8 years ago
tensor-tang
19ec08fa86
change install path of mkldnn and mklml
8 years ago
tensor-tang
a7e23a4cc2
fix link error static to shared
8 years ago
tensor-tang
f6dd8ae164
fix make warning compile with mkldnn
8 years ago
tensor-tang
577bb4e346
rename mkllite to mklml
8 years ago
tensor-tang
1601c34aa5
fix ld bug when enable WITH_TESTING
8 years ago
tensor-tang
f490d94210
separate MKL_LITE from MKLDNN
8 years ago
tensor-tang
89a4158038
enable MKLDNN library and MKL small package
8 years ago
hedaoyuan
f146b03b44
Merge pull request #2824 from hedaoyuan/fix_nnpack
...
Fix some link errors about NNPACK.
8 years ago
Yu Yang
a0aaafe9de
Add a sample op, `add_op`
...
* Refine register methods, make Op can get rid of whole-archieve
* `USE_OP` before a op is used.
* Add unittest for add_op.
8 years ago
hedaoyuan
06748210d4
Fix some link errors about NNPACK.
8 years ago
hedaoyuan
51690f1045
Compile for armv8.
8 years ago
Yu Yang
27b196ba6d
Expose paddle.framework by pybind11 ( #2793 )
...
* Expose paddle.framework by pybind11
* Export paddle.framework.{Scope, Variable} to paddle.v2.framework.core.
* See python/paddle/v2/framework/tests/test_scope.py for Python usage
* See paddle/pybind/pybind.cc for C++ bind code.
* add copyright
8 years ago
liaogang
ce0d67040d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_glog
8 years ago
liaogang
c78f41a331
FIX: explicitly specify glog install path
8 years ago
Yu Yang
e2ea1f42e9
Generate python protobufs for paddle.v2.framework
...
Python should be able to manipulate Protobuf message because:
1. Python's `create_op_creation_methods` take the `OpProto` array to
generate all `op_creation_methods` in RunTime.
2. All `op_creation_methods` will create an `OpDesc` and pass it to
Paddle C++ method `CreateOp` and return the Op handle.
Here is the list of what is added in this commit:
* Add `protobuf_generate_python` if it is not defined.
* Before cmake 3.4, `protobuf_generate_python` is not defined. Just
copy the implementation of that function in `protobuf.cmake`
* Add `py_proto_compile` function in `cmake/generic.cmake`.
* It follows bazel's API interface.
* https://github.com/pubref/rules_protobuf#rules
* Add an empty package named `paddle.v2.framework`, all python code of
`paddle::framework` will be in that package.
* Generate protobuf's python module `__init__.py` by `touch` while
compiling.
* Change setup.py.in, make `paddle.v2.framework.proto` uses the
generated protobuf pythons.
8 years ago
liaogang
817f317bef
FIX: INTERFACE path
8 years ago
liaogang
a211374d53
FIX: interface deps under cmake < 3.3
8 years ago
liaogang
414c2b1734
FIX: add any as interface dep
8 years ago
liaogang
b8cc07920e
FIX: add eigen3 interface deps
8 years ago
dzhwinter
0ea5725068
Merge pull request #2680 from gangliao/protobu'f
...
FIX: Always build protobuf from source
8 years ago
liaogang
5fc9b116d5
ENH: Remove deprecated python build
8 years ago
liaogang
d09bbb559d
FIX: Always build protobuf from source
8 years ago
gangliao
c5dc0b7329
Merge pull request #2668 from QiJune/feature/more_choice_for_eigen
...
add more choice for eigen downloading
8 years ago
qijun
c18275ffb3
add more choice for eigen downloading
8 years ago
Yu Yang
32d6587242
Use protobuf_generate_cpp
8 years ago
Yu Yang
b1a311c44d
Add pb_cc_library in generic.cmake
...
Fix #2567
8 years ago
qijun
c5d9ca8617
fix eigen include path
8 years ago
qijun
ab91232cf6
add cmake external project for eigen
8 years ago
Liu Yiqun
16f8508d74
Use CMake system variables, such as CMAKE_STATIC_LIBRARY_PREFIX/SUFFIX, instead.
8 years ago
Liu Yiqun
c89fe83a77
Fix the problem that protobuf cannot be used as a DEPS argument in cc_library.
8 years ago
Liu Yiqun
e5d33e7760
Fix typo.
8 years ago
Liu Yiqun
366ea1d879
Remove DYNAMIC_ARCH when building openblas for arm-based archiectures.
8 years ago
xuwei06
cb9c588541
Add GLOBAL option for external library targets
...
So that they can be found when paddle is built as a add_subdirectory project in another project.
8 years ago
liaogang
9b835471c2
import 3rd party target in cmake
8 years ago
wuyi05
008b0bb673
fix openblas build
8 years ago
Yu Yang
e73f4a7944
Set protobuf version when PROTOBUF_ROOT set
8 years ago
Yu Yang
9823930220
Fix add libn_any to dependencies
...
* It will cause build error when concurrent is large.
8 years ago
Yu Yang
f6cf9fa839
Add missing condition in if
8 years ago
Yu Yang
9068da1220
Add user can define PROTOBUF_ROOT.
8 years ago
Liu Yiqun
233d8976cb
Merge branch 'develop' into cmake_protobuf
8 years ago
gangliao
4a6d2e3c9f
Merge pull request #2066 from Xreki/fix_libpython
...
Disable the finding of PythonLibs when WITH_PYTHON is set to OFF.
8 years ago
Liu Yiqun
c62357e020
Merge branch 'develop' into cmake_protobuf
8 years ago
liaogang
1d5d9da9db
refine cblas.cmake
8 years ago
Liu Yiqun
2b924ac85d
Disable the finding of PythonLibs when WITH_PYTHON is set to OFF.
8 years ago
liaogang
9aa4190541
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into gfortran
8 years ago
Liu Yiqun
ab9c9434e0
Merge branch 'develop' into cmake_protobuf
8 years ago
Liu Yiqun
33fb2d6b4f
Add some annotations to different OpenBLAS versions.
8 years ago
xuwei06
6a7feb35e5
run python tests in virtualenv
...
When using system python, "pip install" needs root previlege. Using virtualenv to avoid this.
8 years ago
liaogang
81195c877e
remove lapack header in openblas
8 years ago
liaogang
f9e36971f3
Add Lapack warning
8 years ago
liaogang
20cda7bd23
auto check lapack libs
8 years ago
Liu Yiqun
b55bde1b51
Fix bug of setting external_project_dependencies in cmake.
8 years ago
Liu Yiqun
668a1b8bfe
Correct the definition of PROTOBUF_VERSION.
8 years ago
Liu Yiqun
1ddb9bf782
Delete the configuration of fortran compiler.
8 years ago
Liu Yiqun
c27e71e2fd
Merge branch 'develop' into cmake_protobuf
8 years ago
Liu Yiqun
e678546388
Change ${TARGET_NAME}_INCLUDE_DIR to PARENT_SCOPE.
8 years ago
Liu Yiqun
f2b35277b5
Fix typo.
8 years ago
liaogang
f27fd9dc28
follow comments
8 years ago
Liu Yiqun
01bee86df5
Merge branch 'develop' into cmake_protobuf
8 years ago
Liu Yiqun
c914f63676
Add toolchain for raspberry pi.
8 years ago
liaogang
5b8fe87faf
dlopen lapacke api and remove gfotran
8 years ago
xuwei06
e4af8ef4e8
Fix protobuf.cmake to handle empty PROTOBUF_VERSION correctly
...
Sometime FIND_PACKAGE(ProtoBuf) get an empty PROTOBUF_VERSION. In this case, ${PROTOBUF_VERSION} needs to be quoted.
8 years ago
Liu Yiqun
39f9056c77
Config HOST_C/CXX_COMPILER for cross-compiling.
8 years ago
Liu Yiqun
285daf91a5
Support the auto-compiling for openblas when cross-compiling for Android.
8 years ago
Liu Yiqun
c6090035ce
Support the auto-compiling for host protoc when cross-compiling.
8 years ago
Yiqun Liu
d324ed7fff
Merge pull request #1698 from Xreki/build_arm
...
Add cross-compiling support for arm architecture.
8 years ago
Yu Yang
c85ac61ad0
Using linb::any/std::any instead of FunctionConfig
8 years ago
Liu Yiqun
2ae3dd08f9
Merge branch 'develop' into build_arm
8 years ago
gangliao
21fa3eb068
Merge pull request #1717 from gangliao/cmake_enhance
...
CMake external cache args
8 years ago
reyoung
61bc9e3e56
Get Fortran version correctly
8 years ago
reyoung
d7303226f2
Adapt old cmake
8 years ago
reyoung
f19ee89057
Add correct fortran lib search path
8 years ago
reyoung
7ab1c98142
Refine openblas find package.
8 years ago
Liu Yiqun
7690e93233
Deliver the compiler configurations of Paddle to external libraries.
8 years ago
Liu Yiqun
1b8564206f
Use native cross-compiling support for Android of cmake.
8 years ago
liaogang
0c647105fd
Update cmake external cache
8 years ago
liaogang
7f92ce6690
CMake external cache args
8 years ago
Liu Yiqun
bb4a60d9b5
Merge branch 'develop' into build_arm
8 years ago
liaogang
df9993fd2c
add blank
8 years ago