forked from PaddlePaddle/Paddle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'new_interpolate' of https://github.com/tink2123/Paddle …
…into interpolate
- Loading branch information
Showing
541 changed files
with
38,547 additions
and
6,251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
# Attention: cmake will append these flags to compile command automatically. | ||
# So if you want to add global option, change this file rather than flags.cmake | ||
|
||
# default: "-g" | ||
set(CMAKE_C_FLAGS_DEBUG "-g") | ||
# default: "-O3 -DNDEBUG" | ||
set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG") | ||
# default: "-O2 -g -DNDEBUG" | ||
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g -DNDEBUG") | ||
# default: "-Os -DNDEBUG" | ||
set(CMAKE_C_FLAGS_MINSIZEREL "-Os -DNDEBUG") | ||
# NOT WIN32 | ||
# DEBUG: default: "-g" | ||
# RELEASE: default: "-O3 -DNDEBUG" | ||
# RELWITHDEBINFO: default: "-O2 -g -DNDEBUG" | ||
# MINSIZEREL: default: "-O2 -g -DNDEBUG" | ||
|
||
if(NOT WIN32) | ||
set(CMAKE_C_FLAGS_DEBUG "-g") | ||
set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG") | ||
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g -DNDEBUG") | ||
set(CMAKE_C_FLAGS_MINSIZEREL "-Os -DNDEBUG") | ||
|
||
set(CMAKE_CXX_FLAGS_DEBUG "-g") | ||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG") | ||
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -DNDEBUG") | ||
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG") | ||
endif() | ||
|
||
if(WITH_GPU) | ||
set(CMAKE_CUDA_FLAGS_DEBUG "-g") | ||
set(CMAKE_CUDA_FLAGS_RELEASE "-O3 -DNDEBUG") | ||
set(CMAKE_CUDA_FLAGS_RELWITHDEBINFO "-O2 -g -DNDEBUG") | ||
set(CMAKE_CUDA_FLAGS_MINSIZEREL "-O1 -DNDEBUG") | ||
endif() | ||
|
||
# default: "-g" | ||
set(CMAKE_CXX_FLAGS_DEBUG "-g") | ||
# default: "-O3 -DNDEBUG" | ||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG") | ||
# default: "-O2 -g -DNDEBUG" | ||
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -DNDEBUG") | ||
# default: "-Os -DNDEBUG" | ||
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG") | ||
|
||
# default: "-g" | ||
set(CMAKE_CUDA_FLAGS_DEBUG "-g") | ||
# default: "-O3 -DNDEBUG" | ||
set(CMAKE_CUDA_FLAGS_RELEASE "-O3 -DNDEBUG") | ||
# default: "-O2 -g -DNDEBUG" | ||
set(CMAKE_CUDA_FLAGS_RELWITHDEBINFO "-O2 -g -DNDEBUG") | ||
# default: "-O1 -DNDEBUG" | ||
set(CMAKE_CUDA_FLAGS_MINSIZEREL "-O1 -DNDEBUG") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.