1# Licensed to the Apache Software Foundation (ASF) under one
2# or more contributor license agreements.  See the NOTICE file
3# distributed with this work for additional information
4# regarding copyright ownership.  The ASF licenses this file
5# to you under the Apache License, Version 2.0 (the
6# "License"); you may not use this file except in compliance
7# with the License.  You may obtain a copy of the License at
8#
9#   http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing,
12# software distributed under the License is distributed on an
13# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14# KIND, either express or implied.  See the License for the
15# specific language governing permissions and limitations
16# under the License.
17
18#---------------------------------------------------------------------------------------
19#  mshadow: the configuration compile script
20#
21#  This is configuration script that you can use to compile mshadow
22#  Usage:
23#
24#  include config.mk in your Makefile, or directly include the definition of variables
25#  include mshadow.mk after the variables are set
26#
27#  Add MSHADOW_CFLAGS to the compile flags
28#  Add MSHADOW_LDFLAGS to the linker flags
29#  Add MSHADOW_NVCCFLAGS to the nvcc compile flags
30#----------------------------------------------------------------------------------------
31
32# whether use CUDA during compile
33USE_CUDA = 1
34
35# add the path to CUDA libary to link and compile flag
36# if you have already add them to enviroment variable, leave it as NONE
37USE_CUDA_PATH = NONE
38
39#
40# choose the version of blas you want to use
41# can be: mkl, blas, atlas, openblas, apple
42USE_BLAS = openblas
43#
44# add path to intel library, you may need it
45# for MKL, if you did not add the path to enviroment variable
46#
47USE_INTEL_PATH = NONE
48
49# whether compile with parameter server
50USE_DIST_PS = 0
51PS_PATH = NONE
52PS_THIRD_PATH = NONE
53