|
|
|
@ -13,7 +13,7 @@ if(WITH_GPU)
|
|
|
|
|
nv_library(context_project SRCS context_project.cc context_project.cu DEPS device_context)
|
|
|
|
|
nv_library(sequence2batch SRCS sequence2batch.cc sequence2batch.cu DEPS device_context)
|
|
|
|
|
nv_library(lstm_compute SRCS lstm_compute.cc lstm_compute.cu DEPS device_context activation_functions)
|
|
|
|
|
nv_library(gru_compute SRCS gru_compute.cc gru_compute.cu DEPS device_context activation_functions)
|
|
|
|
|
nv_library(gru_compute SRCS gru_compute.cc gru_compute.cu DEPS device_context activation_functions math_function)
|
|
|
|
|
else()
|
|
|
|
|
cc_library(math_function SRCS math_function.cc im2col.cc DEPS cblas device_context operator)
|
|
|
|
|
cc_library(selected_rows_functor SRCS selected_rows_functor.cc DEPS selected_rows math_function)
|
|
|
|
|