Skip to content

Commit

Permalink
Merge pull request apache#59 from tqchen/master
Browse files Browse the repository at this point in the history
Change format to pure ascii
  • Loading branch information
tqchen committed Oct 18, 2015
2 parents 9aaa23b + 2f9e617 commit d2c2754
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmake/mshadow.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(mshadow_LINKER_LIBS "")
set(mshadow_LINKER_LIBS "")

set(BLAS "Atlas" CACHE STRING "Selected BLAS library")
set_property(CACHE BLAS PROPERTY STRINGS "Atlas;Open;MKL")
Expand All @@ -8,7 +8,7 @@ if(BLAS STREQUAL "Atlas" OR BLAS STREQUAL "atlas")
include_directories(SYSTEM ${Atlas_INCLUDE_DIR})
list(APPEND mshadow_LINKER_LIBS ${Atlas_LIBRARIES})
add_definitions(-DMSHADOW_USE_CBLAS=1)
add_definitions(-DMSHADOW_USE_MKL=0)
add_definitions(-DMSHADOW_USE_MKL=0)
elseif(BLAS STREQUAL "Open" OR BLAS STREQUAL "open")
find_package(OpenBLAS REQUIRED)
include_directories(SYSTEM ${OpenBLAS_INCLUDE_DIR})
Expand All @@ -25,7 +25,7 @@ endif()

if(USE_CUDA)
find_package(CUDA 5.5 QUIET)
find_cuda_helper_libs(curand)
find_cuda_helper_libs(curand)
if(NOT CUDA_FOUND)
message(FATAL_ERROR "-- CUDA is disabled.")
endif()
Expand All @@ -35,4 +35,4 @@ if(USE_CUDA)
${CUDA_curand_LIBRARY} ${CUDA_CUBLAS_LIBRARIES})
else()
add_definitions(-DMSHADOW_USE_CUDA=0)
endif()
endif()

0 comments on commit d2c2754

Please sign in to comment.