Skip to content

Commit 3e5886f

Browse files
zkoopmansgvisor-bot
authored andcommitted
Split cuda tests into separate lib.
PiperOrigin-RevId: 755118711
1 parent 6750bae commit 3e5886f

File tree

4 files changed

+954
-874
lines changed

4 files changed

+954
-874
lines changed

test/gpu/BUILD

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ go_test(
8484
visibility = ["//:sandbox"],
8585
deps = [
8686
"//pkg/test/dockerutil",
87-
"//pkg/test/testutil",
88-
"@org_golang_x_sync//errgroup:go_default_library",
87+
"//test/gpu/cuda",
8988
],
9089
)
9190

test/gpu/cuda/BUILD

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
load("//tools:defs.bzl", "go_library")
2+
3+
package(
4+
default_applicable_licenses = ["//:license"],
5+
licenses = ["notice"],
6+
)
7+
8+
go_library(
9+
name = "cuda",
10+
testonly = True,
11+
srcs = ["cuda.go"],
12+
visibility = ["//test/gpu:__subpackages__"],
13+
deps = [
14+
"//pkg/test/dockerutil",
15+
"//pkg/test/testutil",
16+
"@org_golang_x_sync//errgroup:go_default_library",
17+
],
18+
)

0 commit comments

Comments
 (0)