Commit 538de238 authored by Davis King's avatar Davis King

merged

parents f9cb3150 5dad959a
cmake_minimum_required(VERSION 2.8.4) cmake_minimum_required(VERSION 2.8.4)
project(cuda_test) project(cuda_test)
find_package(CUDA 7.5 REQUIRED) include_directories(..)
set(CUDA_HOST_COMPILATION_CPP ON) add_definitions(-DDLIB_USE_CUDA)
list(APPEND CUDA_NVCC_FLAGS "-arch=sm_30;-std=c++11;-D__STRICT_ANSI__")
find_package(CUDA 7.5 REQUIRED)
cuda_add_library(cuda_test STATIC cuda_test.cu ) set(CUDA_HOST_COMPILATION_CPP ON)
list(APPEND CUDA_NVCC_FLAGS "-arch=sm_30;-std=c++11;-D__STRICT_ANSI__")
cuda_add_library(cuda_test STATIC cuda_test.cu )
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // Copyright (C) 2015 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license. // License: Boost Software License See LICENSE.txt for the full license.
#include <cuda_runtime.h> #include "cuda_utils.h"
#include "cuda_dlib.h"
// ------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment