Created by: jiweibo
x86 and cuda compile simutaneously
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DWITH_MKL=ON \
-DLITE_WITH_CUDA=ON \
-DWITH_MKLDNN=OFF \
-DLITE_WITH_X86=ON \
-DLITE_WITH_PROFILE=OFF \
-DWITH_LITE=OFF \
-DLITE_WITH_LIGHT_WEIGHT_FRAMEWORK=OFF \
-DWITH_PYTHON=OFF \
-DWITH_TESTING=ON \
-DLITE_WITH_ARM=OFF \
-DLITE_ON_TINY_PUBLISH=OFF \
-DCUDNN_ROOT=/usr/local/cudnn/ \
-DLITE_BUILD_EXTRA=ON