Skip to content

Commit ff5fa11

Browse files
ngimelsoumith
authored andcommitted
make mkl link to threaded version with GCC (pytorch#958)
1 parent 48f087f commit ff5fa11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/FindMKL.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ ENDIF ("${SIZE_OF_VOIDP}" EQUAL 8)
5050
IF(CMAKE_COMPILER_IS_GNUCC)
5151
SET(mklthreads "mkl_gnu_thread" "mkl_intel_thread")
5252
SET(mklifaces "gf" "intel")
53-
SET(mklrtls)
53+
SET(mklrtls "iomp5")
5454
ELSE(CMAKE_COMPILER_IS_GNUCC)
5555
SET(mklthreads "mkl_intel_thread")
5656
SET(mklifaces "intel")

0 commit comments

Comments
 (0)