-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3db3a10
commit c85d777
Showing
3 changed files
with
16 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
if(WITH_GPU) | ||
nv_library(math_function SRCS math_function.cc math_function.cu im2col.cc im2col.cu vol2col.cc vol2col.cu pooling.cc pooling.cu DEPS cblas device_context operator) | ||
nv_library(math_function SRCS math_function.cc math_function.cu im2col.cc im2col.cu pooling.cc pooling.cu DEPS cblas device_context operator) | ||
nv_test(math_function_test SRCS math_function_test.cc DEPS math_function tensor) | ||
nv_library(softmax SRCS softmax.cc softmax.cu DEPS operator) | ||
nv_library(cross_entropy SRCS cross_entropy.cc cross_entropy.cu DEPS operator) | ||
nv_library(vol2col SRCS vol2col.cc vol2col.cu DEPS cblas device_context operator) | ||
else() | ||
cc_library(math_function SRCS math_function.cc im2col.cc vol2col.cc pooling.cc DEPS cblas device_context operator) | ||
cc_library(math_function SRCS math_function.cc im2col.cc pooling.cc DEPS cblas device_context operator) | ||
cc_test(math_function_test SRCS math_function_test.cc DEPS math_function tensor) | ||
cc_library(softmax SRCS softmax.cc DEPS operator) | ||
cc_library(cross_entropy SRCS cross_entropy.cc DEPS operator) | ||
cc_library(vol2col SRCS vol2col.cc DEPS cblas device_context operator) | ||
|
||
endif() | ||
|
||
cc_test(im2col_test SRCS im2col_test.cc DEPS math_function tensor) | ||
cc_test(vol2col_test SRCS vol2col_test.cc DEPS math_function tensor) | ||
cc_test(vol2col_test SRCS vol2col_test.cc DEPS vol2col tensor) |
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