forked from torch/cutorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add MAGMA implementations of Torch LAPACK functions
- Loading branch information
Showing
12 changed files
with
951 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# - Find MAGMA library | ||
# This module finds an installed MAGMA library, a matrix algebra library | ||
# similar to LAPACK for GPU and multicore systems | ||
# (see http://icl.cs.utk.edu/magma/). | ||
# | ||
# This module sets the following variables: | ||
# MAGMA_FOUND - set to true if the MAGMA library is found. | ||
# MAGMA_LIBRARIES - list of libraries to link against to use MAGMA | ||
# MAGMA_INCLUDE_DIR - include directory | ||
|
||
IF(NOT MAGMA_FOUND) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
|
||
SET(MAGMA_LIBRARIES) | ||
SET(MAGMA_INCLUDE_DIR) | ||
|
||
FIND_LIBRARY(MAGMA_LIBRARIES magma /usr/local/magma/lib) | ||
FIND_PATH(MAGMA_INCLUDE_DIR magma.h /usr/local/magma/include) | ||
|
||
IF (MAGMA_LIBRARIES) | ||
SET(MAGMA_FOUND TRUE) | ||
ELSE (MAGMA_LIBRARIES) | ||
SET(MAGMA_FOUND FALSE) | ||
ENDIF (MAGMA_LIBRARIES) | ||
|
||
ENDIF(NOT MAGMA_FOUND) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.