Skip to content

Commit b7edb1d

Browse files
authored
enable gpu test in internal ci
Differential Revision: D89829958 Pull Request resolved: #16404
1 parent daf93a1 commit b7edb1d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

backends/cuda/runtime/shims/tests/targets.bzl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ def cuda_shim_cpp_unittest(name):
1919
external_deps = [
2020
("cuda", None, "cuda-lazy"),
2121
],
22+
keep_gpu_sections = True,
23+
remote_execution = re_test_utils.remote_execution(
24+
platform = "gpu-remote-execution",
25+
),
2226
)
2327

2428
def define_common_targets():

backends/cuda/runtime/tests/targets.bzl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
load("@fbcode_macros//build_defs:cpp_unittest.bzl", "cpp_unittest")
2+
load("@fbcode_macros//build_defs/lib:re_test_utils.bzl", "re_test_utils")
23

34
def cuda_runtime_cpp_unittest(name):
45
cpp_unittest(
@@ -15,6 +16,10 @@ def cuda_runtime_cpp_unittest(name):
1516
external_deps = [
1617
("cuda", None, "cuda-lazy"),
1718
],
19+
keep_gpu_sections = True,
20+
remote_execution = re_test_utils.remote_execution(
21+
platform = "gpu-remote-execution",
22+
),
1823
)
1924

2025
def define_common_targets():

0 commit comments

Comments
 (0)