Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GPU implementation of NMSv2 op #28745

Merged
merged 11 commits into from Jun 10, 2019
18 changes: 17 additions & 1 deletion tensorflow/core/kernels/BUILD
Expand Up @@ -2747,7 +2747,7 @@ tf_kernel_library(
tf_kernel_library(
name = "non_max_suppression_op",
prefix = "non_max_suppression_op",
deps = IMAGE_DEPS,
deps = IMAGE_DEPS + if_cuda(["@cub_archive//:cub"]),
)

tf_kernel_library(
Expand Down Expand Up @@ -2964,6 +2964,22 @@ tf_cuda_cc_test(
],
)

tf_cuda_cc_test(
name = "non_max_suppression_op_gpu_test",
srcs = ["non_max_suppression_op_gpu_test.cc"],
deps = [
":image",
":ops_testutil",
":ops_util",
"//tensorflow/core:core_cpu",
"//tensorflow/core:framework",
"//tensorflow/core:protos_all_cc",
"//tensorflow/core:test",
"//tensorflow/core:test_main",
"//tensorflow/core:testlib",
],
)

tf_cuda_cc_test(
name = "resize_benchmark_test",
srcs = ["resize_op_benchmark_test.cc"],
Expand Down