File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ cmake_minimum_required (VERSION 3.0)
4
4
5
5
project (SimpleCudaNeuralNet LANGUAGES CXX CUDA)
6
6
7
- set ( CMAKE_BUILD_TYPE "RELEASE" )
7
+ set ( CMAKE_BUILD_TYPE DEBUG )
8
8
9
9
find_package (CUDA REQUIRED)
10
10
11
11
# -g: for breakpoint debugging in vscode
12
- set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall --std=c++11 -g" )
12
+ set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter - Wall --std=c++11 -g" )
13
13
set ( CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG" )
14
14
set ( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNDEBUG -O3" )
15
15
Original file line number Diff line number Diff line change 2
2
#include < assert.h>
3
3
#include < vector>
4
4
#include < algorithm>
5
+ #include < math.h>
5
6
#include " ffCudaNn.h"
6
7
7
8
#if !defined(__FF_WINDOWS__)
File renamed without changes.
You can’t perform that action at this time.
0 commit comments