Skip to content

Commit 2632bbc

Browse files
committed
DOC: Fix spelling of sanitizer
1 parent 7fb013e commit 2632bbc

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

cuda_bindings/docs/source/environment_variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515

1616
## Test-Time Environment Variables
1717

18-
- `CUDA_PYTHON_SANTIZER_RUNNING` : When set to 1, tests are skipped that would cause [compute-sanitizer](https://docs.nvidia.com/compute-sanitizer/ComputeSanitizer/index.html) to raise an error.
18+
- `CUDA_PYTHON_SANITIZER_RUNNING` : When set to 1, tests are skipped that would cause [compute-sanitizer](https://docs.nvidia.com/compute-sanitizer/ComputeSanitizer/index.html) to raise an error.

cuda_bindings/tests/test_cuda.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def test_cuda_memcpy():
8686

8787
@pytest.mark.skipif(
8888
os.environ.get("CUDA_PYTHON_SANITIZER_RUNNING", "0") == "1",
89-
reason="The compute-sanitzer is running, and this test intentionally causes an API error.",
89+
reason="The compute-sanitizer is running, and this test intentionally causes an API error.",
9090
)
9191
def test_cuda_array():
9292
(err,) = cuda.cuInit(0)
@@ -634,7 +634,7 @@ def test_cuda_coredump_attr():
634634

635635
@pytest.mark.skipif(
636636
os.environ.get("CUDA_PYTHON_SANITIZER_RUNNING", "0") == "1",
637-
reason="The compute-sanitzer is running, and this test intentionally causes an API error.",
637+
reason="The compute-sanitizer is running, and this test intentionally causes an API error.",
638638
)
639639
def test_get_error_name_and_string():
640640
(err,) = cuda.cuInit(0)
@@ -966,7 +966,7 @@ def test_CUmemDecompressParams_st():
966966

967967
@pytest.mark.skipif(
968968
os.environ.get("CUDA_PYTHON_SANITIZER_RUNNING", "0") == "1",
969-
reason="The compute-sanitzer is running, and this test intentionally causes an API error.",
969+
reason="The compute-sanitizer is running, and this test intentionally causes an API error.",
970970
)
971971
def test_all_CUresult_codes():
972972
max_code = int(max(cuda.CUresult))
@@ -1002,7 +1002,7 @@ def test_all_CUresult_codes():
10021002

10031003
@pytest.mark.skipif(
10041004
os.environ.get("CUDA_PYTHON_SANITIZER_RUNNING", "0") == "1",
1005-
reason="The compute-sanitzer is running, and this test intentionally causes an API error.",
1005+
reason="The compute-sanitizer is running, and this test intentionally causes an API error.",
10061006
)
10071007
def test_cuKernelGetName_failure():
10081008
err, name = cuda.cuKernelGetName(0)
@@ -1012,7 +1012,7 @@ def test_cuKernelGetName_failure():
10121012

10131013
@pytest.mark.skipif(
10141014
os.environ.get("CUDA_PYTHON_SANITIZER_RUNNING", "0") == "1",
1015-
reason="The compute-sanitzer is running, and this test intentionally causes an API error.",
1015+
reason="The compute-sanitizer is running, and this test intentionally causes an API error.",
10161016
)
10171017
def test_cuFuncGetName_failure():
10181018
err, name = cuda.cuFuncGetName(0)
@@ -1022,7 +1022,7 @@ def test_cuFuncGetName_failure():
10221022

10231023
@pytest.mark.skipif(
10241024
os.environ.get("CUDA_PYTHON_SANITIZER_RUNNING", "0") == "1",
1025-
reason="The compute-sanitzer is running, and this test intentionally causes an API error.",
1025+
reason="The compute-sanitizer is running, and this test intentionally causes an API error.",
10261026
)
10271027
@pytest.mark.skipif(
10281028
driverVersionLessThan(12080) or not supportsCudaAPI("cuCheckpointProcessGetState"),

cuda_bindings/tests/test_cudart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_cudart_memcpy():
7373

7474
@pytest.mark.skipif(
7575
os.environ.get("CUDA_PYTHON_SANITIZER_RUNNING", "0") == "1",
76-
reason="The compute-sanitzer is running, and this test intentionally causes an API error.",
76+
reason="The compute-sanitizer is running, and this test intentionally causes an API error.",
7777
)
7878
def test_cudart_hostRegister():
7979
# Use hostRegister API to check for correct enum return values

cuda_core/tests/test_cuda_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_runtime_cuda_error_explanations_health():
4444
@pytest.mark.skipif(
4545
os.environ.get("CUDA_PYTHON_SANITIZER_RUNNING", "0") == "1",
4646
reason=(
47-
"The compute-sanitzer is running, and this test causes an API error "
47+
"The compute-sanitizer is running, and this test causes an API error "
4848
"when the driver is too old to know about all of the error codes."
4949
),
5050
)

cuda_core/tests/test_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_event_init_disabled():
2525
[
2626
True,
2727
]
28-
# The compute-sanitzer is running, and this test intentionally causes an API error.
28+
# The compute-sanitizer is running, and this test intentionally causes an API error.
2929
+ ([False, None] if os.environ.get("CUDA_PYTHON_SANITIZER_RUNNING", "0") != "1" else []),
3030
)
3131
def test_timing(init_cuda, enable_timing):

cuda_core/tests/test_linker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def test_linker_link_invalid_target_type(compile_ptx_functions):
143143

144144
@pytest.mark.skipif(
145145
is_culink_backend and os.environ.get("CUDA_PYTHON_SANITIZER_RUNNING", "0") == "1",
146-
reason="The compute-sanitzer is running, and this test causes an API error using the culink API.",
146+
reason="The compute-sanitizer is running, and this test causes an API error using the culink API.",
147147
)
148148
def test_linker_get_error_log(compile_ptx_functions):
149149
options = LinkerOptions(arch=ARCH)

0 commit comments

Comments
 (0)