Commit 846bc2e5 authored by Mike Kremer's avatar Mike Kremer

Added optimizations for cuda compiler if in release mode.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11814 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 66505026
......@@ -479,7 +479,7 @@ function (_build_openflipper_plugin plugin)
CUDA_COMPILE(${_PLUGIN}_CUDA_GENERATED_FILES ${${_PLUGIN}_CUDA_SRCS} OPTIONS -g -G --device-emulation -Xcompiler)
else()
message("Compiling cuda sources in release mode")
CUDA_COMPILE(${_PLUGIN}_CUDA_GENERATED_FILES ${${_PLUGIN}_CUDA_SRCS})
CUDA_COMPILE(${_PLUGIN}_CUDA_GENERATED_FILES ${${_PLUGIN}_CUDA_SRCS} OPTIONS -O2)
endif()
# Create the library containing all cuda files
......
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