mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/71413 ghstack-source-id: 150235101 Test Plan: Verified manually. Rely on CI to validate. Reviewed By: malfet Differential Revision: D33635740 fbshipit-source-id: 82c6798a20c01c16fb17547d4a0ba30e6ffc272d (cherry picked from commit d7a0b39f510f59fe16f138a712d380e0091b230a)
11 lines
268 B
Python
11 lines
268 B
Python
def define_targets(rules):
|
|
rules.cc_binary(
|
|
name = "intrusive_ptr",
|
|
srcs = ["intrusive_ptr_benchmark.cpp"],
|
|
tags = ["benchmark"],
|
|
deps = [
|
|
"//c10/util:base",
|
|
"@google_benchmark//:benchmark",
|
|
],
|
|
)
|