Skip to content

Commit caf3d99

Browse files
committed
Add missing file.
1 parent 09d6ddd commit caf3d99

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

cuda_core/tests/helpers.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright 2025 NVIDIA Corporation. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
import os
5+
6+
CUDA_PATH = os.environ.get("CUDA_PATH")
7+
CUDA_INCLUDE_PATH = None
8+
CCCL_INCLUDE_PATHS = None
9+
if CUDA_PATH is not None:
10+
path = os.path.join(CUDA_PATH, "include")
11+
if os.path.isdir(path):
12+
CUDA_INCLUDE_PATH = path
13+
path = os.path.join(path, "cccl")
14+
if os.path.isdir(path):
15+
CCCL_INCLUDE_PATHS = (path, CUDA_INCLUDE_PATH)

0 commit comments

Comments
 (0)