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 code accompanies the paper: | |
* | |
* "Partial Functional Correspondence" | |
* Rodola, Cosmo, Bronstein, Torsello, Cremers | |
* Computer Graphics Forum 2016 | |
* | |
* Please cite the paper above if you use this code in your research. | |
* | |
* Written by Emanuele Rodola and Luca Cosmo |
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
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -ccbin=cuda-g++") | |
cmake_minimum_required(VERSION 3.7) | |
project(myproject) | |
#enable_language("CUDA") | |
find_package(CUDA QUIET) | |
Set(USE_CUDA ${CUDA_FOUND}) | |
# second : we detect Gpu properties with a home-made script | |
if(USE_CUDA) | |
# getting some properties of GPUs to pass them as "-D..." options at compilation (adapted from caffe git repo). |
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
cmake_minimum_required(VERSION 3.7) | |
project(myproject) | |
#enable_language("CUDA") | |
find_package(CUDA QUIET) | |
# Check for CUDA ENV vars | |
IF(NOT DEFINED ENV{CUDA_PATH}) | |
MESSAGE(FATAL_ERROR "CUDA_PATH Environment variable is not set.") |