| ||||
Comme toujours (mais on va le refaire). On commence par se créer un dossier build : mkdir build Ensuite on va dedans : cd build On appelle CMake : cmake .. -- The C compiler identification is GNU 4.7.2 -- The CXX compiler identification is GNU 4.7.2 -- 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 -- Found CUDA: /usr (found version "4.2") -- Configuring done -- Generating done En enfin Make : make [ 50%] Building NVCC (Device) object CMakeFiles/testCuda.dir//./testCuda_generated_calcul_cuda.cu.o Scanning dependencies of target testCuda [100%] Building C object CMakeFiles/testCuda.dir/main.c.o Linking CXX executable testCuda [100%] Built target testCuda Et c'est parti pour le verdict. | ||||
|