Skip to content

Commit

Permalink
Merge remote-tracking branch 'rapidsai/main' into jit-link-data
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarkall committed Mar 7, 2024
2 parents 82df097 + ace1a0c commit b4d36cc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .ycm_extra_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

CONDA_PREFIX = os.environ["CONDA_PREFIX"]
NVJITLINK_DIR = Path(__file__).parent
VER = sys.version_info
PYTHON_INCLUDE_NAME = "python3.10" # Not ideal
PYTHON_VERSION = sys.version_info
PYTHON_INCLUDE_NAME = "python%d.%d" % PYTHON_VERSION

CONDA_INCLUDE_DIR = Path(CONDA_PREFIX, "include")
PYTHON_INCLUDE_DIR = Path(CONDA_INCLUDE_DIR, PYTHON_INCLUDE_NAME)
NVJITLINK_INCLUDE_DIR = Path(NVJITLINK_DIR, "include")
CUDA_INCLUDE_DIR = "/usr/local/cuda-12.0/include"
CUDA_INCLUDE_DIR = "/usr/local/cuda/include"

flags = [
"--cuda-gpu-arch=sm_50",
Expand Down
2 changes: 1 addition & 1 deletion ci/install_latest_cuda_toolkit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ else
exit 1
fi

yum install -y cuda-toolkit-12-3
yum install -y cuda-toolkit-12-4
6 changes: 1 addition & 5 deletions ci/test_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,11 @@ rapids-logger "Download Wheel"
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"
RAPIDS_PY_WHEEL_NAME="pynvjitlink_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist/

# This is the version of the suffix with a preceding hyphen. It's used
# everywhere except in the final wheel name.
PACKAGE_CUDA_SUFFIX="-${RAPIDS_PY_CUDA_SUFFIX}"

RAPIDS_TESTS_DIR=${RAPIDS_TESTS_DIR:-"${PWD}/test-results"}/
mkdir -p "${RAPIDS_TESTS_DIR}"

rapids-logger "Install wheel"
python -m pip install $(echo ./dist/pynvjitlink*.whl)
python -m pip install $(echo ./dist/pynvjitlink_${RAPIDS_PY_CUDA_SUFFIX}*.whl)

rapids-logger "Build Tests"
pushd test_binary_generation
Expand Down
2 changes: 1 addition & 1 deletion conda/recipes/pynvjitlink/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ cuda_compiler:
- cuda-nvcc

cuda_compiler_version:
- 12.3
- 12.4

0 comments on commit b4d36cc

Please sign in to comment.