Skip to content

Commit

Permalink
Fix a few remaining uses of "cuda2" to "cuda". (iree-org#16298)
Browse files Browse the repository at this point in the history
Saw these in logs and when browsing the CODEOWNERS file.
  • Loading branch information
ScottTodd authored Feb 2, 2024
1 parent 31d7b21 commit 6d3a7cc
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@
# Runtime
/runtime/src/iree/ @benvanik
/runtime/src/iree/hal/cts/ @ScottTodd
/runtime/src/iree/hal/drivers/cuda2/ @antiagainst
/runtime/src/iree/hal/drivers/cuda/ @antiagainst
/runtime/src/iree/hal/drivers/metal/ @antiagainst
/runtime/src/iree/hal/drivers/vulkan/ @antiagainst @ScottTodd
8 changes: 4 additions & 4 deletions tests/e2e/stablehlo_ops/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ CUDA_SRCS = enforce_glob(
)

iree_check_single_backend_test_suite(
name = "check_cuda2_graph",
name = "check_cuda_graph",
srcs = CUDA_SRCS,
compiler_flags = [
# TODO(#13984): memset emulation required for graphs.
Expand All @@ -418,7 +418,7 @@ iree_check_single_backend_test_suite(
],
driver = "cuda",
input_type = "stablehlo",
runner_args = ["--cuda2_use_streams=false"],
runner_args = ["--cuda_use_streams=false"],
tags = [
# CUDA cuInit fails with sanitizer on.
"noasan",
Expand All @@ -431,14 +431,14 @@ iree_check_single_backend_test_suite(
)

iree_check_single_backend_test_suite(
name = "check_cuda2_stream",
name = "check_cuda_stream",
srcs = CUDA_SRCS,
compiler_flags = [
"--iree-hal-cuda-enable-legacy-sync=false",
],
driver = "cuda",
input_type = "stablehlo",
runner_args = ["--cuda2_use_streams=true"],
runner_args = ["--cuda_use_streams=true"],
tags = [
# CUDA cuInit fails with sanitizer on.
"noasan",
Expand Down
8 changes: 4 additions & 4 deletions tests/e2e/stablehlo_ops/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ iree_check_single_backend_test_suite(

iree_check_single_backend_test_suite(
NAME
check_cuda2_graph
check_cuda_graph
SRCS
"abs.mlir"
"add.mlir"
Expand Down Expand Up @@ -377,7 +377,7 @@ iree_check_single_backend_test_suite(
INPUT_TYPE
"stablehlo"
RUNNER_ARGS
"--cuda2_use_streams=false"
"--cuda_use_streams=false"
LABELS
"noasan"
"nomsan"
Expand All @@ -388,7 +388,7 @@ iree_check_single_backend_test_suite(

iree_check_single_backend_test_suite(
NAME
check_cuda2_stream
check_cuda_stream
SRCS
"abs.mlir"
"add.mlir"
Expand Down Expand Up @@ -460,7 +460,7 @@ iree_check_single_backend_test_suite(
INPUT_TYPE
"stablehlo"
RUNNER_ARGS
"--cuda2_use_streams=true"
"--cuda_use_streams=true"
LABELS
"noasan"
"nomsan"
Expand Down
12 changes: 6 additions & 6 deletions tests/e2e/tosa_ops/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ CUDA_SRCS = enforce_glob(
)

iree_check_single_backend_test_suite(
name = "check_cuda2_graph",
name = "check_cuda_graph",
srcs = CUDA_SRCS,
compiler_flags = [
# TODO(#13984): memset emulation required for graphs.
Expand All @@ -305,7 +305,7 @@ iree_check_single_backend_test_suite(
],
driver = "cuda",
input_type = "tosa",
runner_args = ["--cuda2_use_streams=false"],
runner_args = ["--cuda_use_streams=false"],
tags = [
# CUDA cuInit fails with sanitizer on.
"noasan",
Expand All @@ -318,14 +318,14 @@ iree_check_single_backend_test_suite(
)

iree_check_single_backend_test_suite(
name = "check_cuda2_stream",
name = "check_cuda_stream",
srcs = CUDA_SRCS,
compiler_flags = [
"--iree-hal-cuda-enable-legacy-sync=false",
],
driver = "cuda",
input_type = "tosa",
runner_args = ["--cuda2_use_streams=true"],
runner_args = ["--cuda_use_streams=true"],
tags = [
# CUDA cuInit fails with sanitizer on.
"noasan",
Expand All @@ -340,8 +340,8 @@ iree_check_single_backend_test_suite(
test_suite(
name = "check",
tests = [
":check_cuda2_graph",
":check_cuda2_stream",
":check_cuda_graph",
":check_cuda_stream",
":check_llvm-cpu_local-task",
":check_vmvx_local-task",
":check_vulkan-spirv_vulkan",
Expand Down
8 changes: 4 additions & 4 deletions tests/e2e/tosa_ops/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ iree_check_single_backend_test_suite(

iree_check_single_backend_test_suite(
NAME
check_cuda2_graph
check_cuda_graph
SRCS
"abs.mlir"
"add.mlir"
Expand Down Expand Up @@ -276,7 +276,7 @@ iree_check_single_backend_test_suite(
INPUT_TYPE
"tosa"
RUNNER_ARGS
"--cuda2_use_streams=false"
"--cuda_use_streams=false"
LABELS
"noasan"
"nomsan"
Expand All @@ -287,7 +287,7 @@ iree_check_single_backend_test_suite(

iree_check_single_backend_test_suite(
NAME
check_cuda2_stream
check_cuda_stream
SRCS
"abs.mlir"
"add.mlir"
Expand Down Expand Up @@ -338,7 +338,7 @@ iree_check_single_backend_test_suite(
INPUT_TYPE
"tosa"
RUNNER_ARGS
"--cuda2_use_streams=true"
"--cuda_use_streams=true"
LABELS
"noasan"
"nomsan"
Expand Down

0 comments on commit 6d3a7cc

Please sign in to comment.