|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: |
$ svn co https://gforge.sci.utah.edu/svn/findcuda/trunk FindCUDA
$ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/letharion/FindCUDA
$ make
[ 16%] Building NVCC (Device) object src/./cuda_compile_generated_test_bin.cu.o
Scanning dependencies of target cuda_compile_example
[ 33%] Building CXX object src/CMakeFiles/cuda_compile_example.dir/main.cc.o
Linking CXX executable cuda_compile_example
[ 33%] Built target cuda_compile_example
[ 50%] Building NVCC (Device) object src/./test_lib_generated_test_lib.cu.o
Scanning dependencies of target test_lib
Linking CXX shared library libtest_lib.so
[ 50%] Built target test_lib
Scanning dependencies of target lib_example
[ 66%] Building CXX object src/CMakeFiles/lib_example.dir/main_for_lib.cc.o
Linking CXX executable lib_example
[ 66%] Built target lib_example
[ 83%] Building NVCC (Device) object src/./test_generated_test_bin.cu.o
Scanning dependencies of target test
[100%] Building CXX object src/CMakeFiles/test.dir/main.cc.o
Linking CXX executable test
[100%] Built target test
$ mkdir test && cd test && vim CMakeLists.txt
$ cat CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake/cuda" ${CMAKE_MODULE_PATH})
FIND_PACKAGE(CUDA)
$ cmake .
CMake Warning at CMakeLists.txt:3 (FIND_PACKAGE):
Could not find module FindCUDA.cmake or a configuration file for package
CUDA.
Adjust CMAKE_MODULE_PATH to find FindCUDA.cmake or set CUDA_DIR to the
directory containing a CMake configuration file for CUDA. The file will
have one of the following names:
CUDAConfig.cmake
cuda-config.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /home/letharion/FindCUDA/test
|
Advertisement
| Hall of Fame |