Created
August 28, 2016 13:13
-
-
Save hughperkins/763c1b9b0efff0fdffd710c26149597e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| cmake_minimum_required(VERSION 2.8) | |
| set(LIBDNN_INSTALL_DIR CACHE PATH "directory you installed libdnn to") | |
| set(VIENNACL_DIR CACHE PATH "viennacl dir") | |
| SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall") | |
| add_executable(test1 test1.cpp) | |
| target_link_libraries(test1 OpenCL) | |
| target_link_libraries(test1 ${LIBDNN_INSTALL_DIR}/lib/libgreentea_libdnn.so) | |
| include_directories(${LIBDNN_INSTALL_DIR}/include) | |
| include_directories(${VIENNACL_DIR}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment