Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CUDA Enhanced Compatibility on CUDA 12 #201

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Configure CUDA 12 for CUDA Enhanced Compatibility
  • Loading branch information
jakirkham authored Nov 26, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 906180aea1595111fc46ba02ff34093d0e29fcac
10 changes: 6 additions & 4 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ outputs:
activate_in_script: true
string: {{ string_prefix }}_h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}
ignore_run_exports_from:
- {{ compiler('cuda') }} # [(cuda_compiler_version or "").startswith("11")]
- {{ compiler('cuda') }}
jakirkham marked this conversation as resolved.
Show resolved Hide resolved
missing_dso_whitelist:
# Conda-build raises the missing `R.dll` linkage erroneously.
# xref: https://github.com/conda/conda-build/pull/4786
@@ -74,10 +74,12 @@ outputs:
- llvm-openmp # [osx]
- libgomp # [linux]
host:
- nccl # [linux and cuda_compiler != "None"]
- cuda-version {{ cuda_compiler_version }}
- nccl # [linux and cuda_compiler != "None"]
jakirkham marked this conversation as resolved.
Show resolved Hide resolved
run:
- __cuda # [cuda_compiler != "None"]
- cuda-version >=11.2,<12.0a0 # [(cuda_compiler_version or "").startswith("11")]
- __cuda # [cuda_compiler != "None"]
- cuda-version >=11.2,<12.0a0 # [(cuda_compiler_version or "").startswith("11")]
- cuda-version >=12.0,<13.0a0 # [(cuda_compiler_version or "").startswith("12")]
test:
commands:
- test -f "${PREFIX}/lib/libxgboost${SHLIB_EXT}" # [unix]
Loading