-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bandicoot adaption #352
Open
zoq
wants to merge
15
commits into
mlpack:master
Choose a base branch
from
zoq:coot-init
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Bandicoot adaption #352
Changes from 3 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
e5e71f1
Intial bandicoot - refactoring.
zoq db90c7d
Push latest changes.
zoq 522b473
CMAES changes.
zoq 7d63133
Use FindCUDAToolkit for cmake >= 3.17, to search for cuda libs.
c3591ba
Merge branch 'master' into coot-init
shrit b8e5fab
Merge branch 'master' into coot-init
zoq 4f519b2
Look for nvrtc libs.
zoq b1833ca
Update Yogi optimizer to make use of coot.
zoq aa61fc3
Update IQN optimizer to make use of coot.
zoq d961528
Update SGD optimizer to make use of coot.
zoq 435adf9
Update Adam optimizer to make use of coot.
zoq 57fd7ad
Update test cases.
zoq 5caa998
Update DE test case.
zoq 06a046c
Update the is_coot check to also work if coot is not available.
zoq 3014446
Make sure we don't fail in case we can't find the bandicoot config.
zoq File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,44 @@ | ||
# - Find clBLAS (includes and library) | ||
# This module defines | ||
# CLBLAS_INCLUDE_DIR | ||
# CLBLAS_LIBRARIES | ||
# CLBLAS_FOUND | ||
# also defined, but not for general use are | ||
# CLBLAS_LIBRARY, where to find the library. | ||
|
||
find_path(CLBLAS_INCLUDE_DIR clBLAS.h | ||
/usr/include/ | ||
/usr/local/include/ | ||
) | ||
|
||
set(CLBLAS_NAMES ${CLBLAS_NAMES} clBLAS) | ||
find_library(CLBLAS_LIBRARY | ||
NAMES ${CLBLAS_NAMES} | ||
PATHS /usr/lib64/ /usr/local/lib64/ /usr/lib /usr/local/lib | ||
) | ||
|
||
if (CLBLAS_LIBRARY AND CLBLAS_INCLUDE_DIR) | ||
set(CLBLAS_LIBRARIES ${CLBLAS_LIBRARY}) | ||
set(CLBLAS_FOUND "YES") | ||
else () | ||
set(CLBLAS_FOUND "NO") | ||
endif () | ||
|
||
if (CLBLAS_FOUND) | ||
if (NOT CLBLAS_FIND_QUIETLY) | ||
message(STATUS "Found a clBLAS library: ${CLBLAS_LIBRARIES}") | ||
endif () | ||
else () | ||
if (CLBLAS_FIND_REQUIRED) | ||
message(FATAL_ERROR "Could not find a clBLAS library") | ||
endif () | ||
endif () | ||
|
||
# Deprecated declarations. | ||
set (NATIVE_CLBLAS_INCLUDE_PATH ${CLBLAS_INCLUDE_DIR} ) | ||
get_filename_component (NATIVE_CLBLAS_LIB_PATH ${CLBLAS_LIBRARY} PATH) | ||
|
||
mark_as_advanced( | ||
CLBLAS_LIBRARY | ||
CLBLAS_INCLUDE_DIR | ||
) |
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,44 @@ | ||
# - Find clBlast (includes and library) | ||
# This module defines | ||
# CLBLAST_INCLUDE_DIR | ||
# CLBLAST_LIBRARIES | ||
# CLBLAST_FOUND | ||
# also defined, but not for general use are | ||
# CLBLAST_LIBRARY, where to find the library. | ||
|
||
find_path(CLBLAST_INCLUDE_DIR clblast.h | ||
/usr/include/ | ||
/usr/local/include/ | ||
) | ||
|
||
set(CLBLAST_NAMES ${CLBLAST_NAMES} clblast) | ||
find_library(CLBLAST_LIBRARY | ||
NAMES ${CLBLAST_NAMES} | ||
PATHS /usr/lib64/ /usr/local/lib64/ /usr/lib /usr/local/lib | ||
) | ||
|
||
if (CLBLAST_LIBRARY AND CLBLAST_INCLUDE_DIR) | ||
set(CLBLAST_LIBRARIES ${CLBLAST_LIBRARY}) | ||
set(CLBLAST_FOUND "YES") | ||
else () | ||
set(CLBLAST_FOUND "NO") | ||
endif () | ||
|
||
if (CLBLAST_FOUND) | ||
if (NOT CLBLAST_FIND_QUIETLY) | ||
message(STATUS "Found a clBlast library: ${CLBLAST_LIBRARIES}") | ||
endif () | ||
else () | ||
if (CLBLAST_FIND_REQUIRED) | ||
message(FATAL_ERROR "Could not find a clBlast library") | ||
endif () | ||
endif () | ||
|
||
# Deprecated declarations. | ||
set (NATIVE_CLBLAST_INCLUDE_PATH ${CLBLAST_INCLUDE_DIR} ) | ||
get_filename_component (NATIVE_CLBLAST_LIB_PATH ${CLBLAST_LIBRARY} PATH) | ||
|
||
mark_as_advanced( | ||
CLBLAST_LIBRARY | ||
CLBLAST_INCLUDE_DIR | ||
) |
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,35 @@ | ||
# - Find clBlast (includes and library) | ||
# This module defines | ||
# CLBLAST_INCLUDE_DIR | ||
# CLBLAST_LIBRARIES | ||
# CLBLAST_FOUND | ||
# also defined, but not for general use are | ||
# CLBLAST_LIBRARY, where to find the library. | ||
|
||
set(NVRTC_NAMES ${NVRTC_NAMES} nvrtc) | ||
find_library(NVRTC_LIBRARY | ||
NAMES ${NVRTC_NAMES} | ||
PATHS /usr/lib64/ /usr/local/lib64/ /usr/lib /usr/local/lib /usr/lib/x86_64-linux-gnu/ | ||
) | ||
|
||
if (NVRTC_LIBRARY) | ||
set(NVRTC_LIBRARIES ${NVRTC_LIBRARY}) | ||
set(NVRTC_FOUND "YES") | ||
else () | ||
set(NVRTC_FOUND "NO") | ||
endif () | ||
|
||
if (NVRTC_FOUND) | ||
if (NOT NVRTC_FIND_QUIETLY) | ||
message(STATUS "Found NVRTC library: ${NVRTC_LIBRARIES}") | ||
endif () | ||
else () | ||
if (NVRTC_FIND_REQUIRED) | ||
message(FATAL_ERROR "Could not find NVRTC library") | ||
endif () | ||
endif () | ||
|
||
# Deprecated declarations. | ||
get_filename_component (NATIVE_NVRTC_LIB_PATH ${NVRTC_LIBRARY} PATH) | ||
|
||
mark_as_advanced(NVRTC_LIBRARY) |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zoq is that version downgrade deliberate?
recent releases of ensmallen require armadillo 9.800+