Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
CNNArch2Caffe2
Commits
f442ef4e
Commit
f442ef4e
authored
Mar 09, 2019
by
Christopher Jan-Steffen Brix
Browse files
Updated test
parent
870ee340
Pipeline
#110327
passed with stages
in 4 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/test/resources/target_code/CMakeLists.txt
View file @
f442ef4e
...
...
@@ -17,11 +17,11 @@ set(LIBS ${LIBS} ${Caffe2_LIBRARIES})
# additional commands
set
(
LIBS
${
LIBS
}
-lprotobuf -lglog -lgflags
)
find_package
(
CUDA
)
set
(
INCLUDE_DIRS
${
INCLUDE_DIRS
}
${
CUDA_INCLUDE_DIRS
}
)
set
(
LIBS
${
LIBS
}
${
CUDA_LIBRARIES
}
${
CUDA_curand_LIBRARY
}
)
if
(
CUDA_FOUND
)
set
(
LIBS
${
LIBS
}
caffe2 caffe2_gpu
)
set
(
INCLUDE_DIRS
${
INCLUDE_DIRS
}
${
CUDA_INCLUDE_DIRS
}
)
set
(
LIBS
${
LIBS
}
${
CUDA_LIBRARIES
}
${
CUDA_curand_LIBRARY
}
)
else
()
set
(
LIBS
${
LIBS
}
caffe2
)
endif
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment