-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Hans Gaiser
committed
Feb 28, 2017
1 parent
50a5cd0
commit 13d0435
Showing
17 changed files
with
273 additions
and
38 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
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 |
---|---|---|
@@ -1,19 +1,9 @@ | ||
/* Sources directory */ | ||
#define SOURCE_FOLDER "${PROJECT_SOURCE_DIR}" | ||
#ifndef CAFFE_CONFIG_H_ | ||
#define CAFFE_CONFIG_H_ | ||
|
||
/* Binaries directory */ | ||
#define BINARY_FOLDER "${PROJECT_BINARY_DIR}" | ||
/* Layer module options */ | ||
#define DEFAULT_LAYER_PATH "${DEFAULT_LAYER_PATH}" | ||
#define LAYER_MODULE_PREFIX "${LAYER_MODULE_PREFIX}" | ||
#define LAYER_MODULE_SUFFIX "${LAYER_MODULE_SUFFIX}" | ||
|
||
/* Test device */ | ||
#define CUDA_TEST_DEVICE ${CUDA_TEST_DEVICE} | ||
|
||
/* Temporary (TODO: remove) */ | ||
#if 1 | ||
#define CMAKE_SOURCE_DIR SOURCE_FOLDER "/src/" | ||
#define EXAMPLES_SOURCE_DIR BINARY_FOLDER "/examples/" | ||
#define CMAKE_EXT ".gen.cmake" | ||
#else | ||
#define CMAKE_SOURCE_DIR "src/" | ||
#define EXAMPLES_SOURCE_DIR "examples/" | ||
#define CMAKE_EXT "" | ||
#endif | ||
#endif // CAFFE_CONFIG_H_ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifndef CAFFE_UTIL_SEARCH_PATH_H_ | ||
#define CAFFE_UTIL_SEARCH_PATH_H_ | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace caffe { | ||
|
||
/** | ||
* @brief Parses a list of colon separated paths as a vector of paths. | ||
*/ | ||
std::vector<std::string> ParseSearchPath( | ||
std::string const & search_path | ||
); | ||
|
||
} // namespace caffe | ||
|
||
#endif // CAFFE_UTIL_SEARCH_PATH_H_ |
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.