Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
710ac146
Commit
710ac146
authored
Aug 28, 2019
by
Jon Soifer
Committed by
Tianqi Chen
Aug 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support MKL on Windows (#3837)
parent
062f8cc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
cmake/modules/contrib/BLAS.cmake
+2
-0
No files found.
cmake/modules/contrib/BLAS.cmake
View file @
710ac146
...
@@ -31,6 +31,8 @@ elseif(USE_BLAS STREQUAL "mkl")
...
@@ -31,6 +31,8 @@ elseif(USE_BLAS STREQUAL "mkl")
find_library
(
BLAS_LIBRARY NAMES mklml HINTS
${
USE_MKL_PATH
}
/lib/
${
USE_MKL_PATH
}
/lib/intel64
)
find_library
(
BLAS_LIBRARY NAMES mklml HINTS
${
USE_MKL_PATH
}
/lib/
${
USE_MKL_PATH
}
/lib/intel64
)
elseif
(
UNIX
)
elseif
(
UNIX
)
find_library
(
BLAS_LIBRARY NAMES mkl_rt mklml_gnu HINTS
${
USE_MKL_PATH
}
/lib/
${
USE_MKL_PATH
}
/lib/intel64
)
find_library
(
BLAS_LIBRARY NAMES mkl_rt mklml_gnu HINTS
${
USE_MKL_PATH
}
/lib/
${
USE_MKL_PATH
}
/lib/intel64
)
elseif
(
MSVC
)
find_library
(
BLAS_LIBRARY NAMES mkl_rt HINTS
${
USE_MKL_PATH
}
/lib/
${
USE_MKL_PATH
}
/lib/intel64_win
)
endif
()
endif
()
include_directories
(
${
USE_MKL_PATH
}
/include
)
include_directories
(
${
USE_MKL_PATH
}
/include
)
list
(
APPEND TVM_RUNTIME_LINKER_LIBS
${
BLAS_LIBRARY
}
)
list
(
APPEND TVM_RUNTIME_LINKER_LIBS
${
BLAS_LIBRARY
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment