changeset 7:64fff82cf9c9

add CUDA sample
author ikkun
date Thu, 15 Jun 2017 23:38:07 +0900
parents 3e53d93dde50
children df645e67040a
files sample2/CMakeLists.txt
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sample2/CMakeLists.txt	Thu Jun 15 23:38:07 2017 +0900
@@ -0,0 +1,6 @@
+cmake_minimum_required(VERSION 3.7)
+find_package(CUDA REQUIRED)
+include_directories(/Developer/NVIDIA/CUDA-8.0/samples/common/inc)
+cuda_add_executable(hello hello.cu)
+cuda_add_executable(matrixMul matrixMul.cu)
+