-
Notifications
You must be signed in to change notification settings - Fork 224
[conda] Split GPU runtime into dal-gpu package #3551
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
base: main
Are you sure you want to change the base?
Changes from all commits
1c750c6
154290a
836c9fd
fbad392
94c46d3
4cd9548
545a2ae
0762753
bf4b405
54c0409
5b5fff7
360a36f
2e1cf61
3d3f8d9
ab49f00
7914632
b6a4d71
96d5c4e
c65e1bc
4864b64
0a3871d
382f101
65763ca
c5ddfe8
a7785f9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,8 +34,12 @@ build: | |
| number: {{ buildnumber }} | ||
| string: h{{ git_hash }}_{{ buildnumber }}_{{ cxx_compiler }} | ||
| include_recipe: False | ||
| ignore_run_exports_from: | ||
| - dpcpp_impl_linux-64 # [linux64 or win] | ||
| # Note: ignore_run_exports_from is NOT set globally here. | ||
| # It is set per-output: dal (CPU) ignores dpcpp_impl run_exports so it | ||
david-cortes-intel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| # does not pull GPU/SYCL runtime. dal-gpu does NOT ignore them, so it | ||
| # automatically inherits the compatible intel-sycl-rt pin declared by | ||
| # dpcpp_impl_linux-64 via run_exports, keeping SYCL runtime in sync | ||
| # with the compiler used at build time. | ||
| script_env: | ||
| # All build targets are used by default and AVX2 only for CI. | ||
| # Override REQCPU to reduce manual build time if needed: `REQCPU=avx512 conda build .` | ||
|
|
@@ -62,19 +66,47 @@ requirements: | |
|
|
||
| outputs: | ||
| - name: dal | ||
| build: | ||
| # Suppress dpcpp_impl run_exports for the CPU-only package: | ||
| # dal must not pull GPU/SYCL runtime (intel-sycl-rt). | ||
| ignore_run_exports_from: | ||
| - dpcpp_impl_linux-64 # [linux64 or win] | ||
| script: pack.sh # [linux] | ||
| requirements: | ||
| run: | ||
| - tbb | ||
| test: | ||
| commands: | ||
| - test -f $PREFIX/lib/libonedal_core.so.{{ major_binary_version }} # [linux] | ||
| - test -f $PREFIX/lib/libonedal_dpc.so.{{ major_binary_version }} # [linux] | ||
| - test -f $PREFIX/lib/libonedal_thread.so.{{ major_binary_version }} # [linux] | ||
| about: | ||
| summary: oneAPI Data Analytics Library (oneDAL) runtime libraries | ||
| summary: oneAPI Data Analytics Library (oneDAL) CPU runtime libraries | ||
|
|
||
| - name: dal-gpu | ||
| build: | ||
| skip: true # [cxx_compiler != "dpcpp" or not linux64] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one has: But |
||
| # Do NOT set ignore_run_exports_from here: dpcpp_impl_linux-64 declares | ||
| # run_exports with a compatible intel-sycl-rt pin. dal-gpu inherits it | ||
| # automatically — no manual pin needed. | ||
| script: pack.sh # [linux] | ||
david-cortes-intel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| requirements: | ||
| run: | ||
| - {{ pin_subpackage('dal', exact=True) }} | ||
| # intel-sycl-rt is intentionally absent from the explicit run: list. | ||
| # It is injected automatically via run_exports from dpcpp_impl_linux-64, | ||
| # ensuring the SYCL runtime version matches the compiler used to build. | ||
| - mkl-dpcpp # [linux64] | ||
david-cortes-intel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| test: | ||
| commands: | ||
| - test -f $PREFIX/lib/libonedal_dpc.so.{{ major_binary_version }} # [linux] | ||
| - test -f $PREFIX/lib/libonedal_parameters_dpc.so.{{ major_binary_version }} # [linux] | ||
| about: | ||
| summary: oneAPI Data Analytics Library (oneDAL) GPU/DPC++ runtime library | ||
|
|
||
| - name: dal-include | ||
| build: | ||
| ignore_run_exports_from: | ||
| - dpcpp_impl_linux-64 # [linux64 or win] | ||
| script: pack.sh # [linux] | ||
| test: | ||
| commands: | ||
|
|
@@ -83,6 +115,9 @@ outputs: | |
| summary: Headers for building against oneAPI Data Analytics Library (oneDAL) | ||
|
|
||
| - name: dal-static | ||
| build: | ||
| ignore_run_exports_from: | ||
| - dpcpp_impl_linux-64 # [linux64 or win] | ||
| script: pack.sh # [linux] | ||
| requirements: | ||
| run: | ||
|
|
@@ -95,6 +130,9 @@ outputs: | |
| summary: Static libraries for oneAPI Data Analytics Library (oneDAL) | ||
|
|
||
| - name: dal-devel | ||
| build: | ||
| ignore_run_exports_from: | ||
david-cortes-intel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - dpcpp_impl_linux-64 # [linux64 or win] | ||
| script: pack.sh # [linux] | ||
| requirements: | ||
| run: | ||
|
|
@@ -109,6 +147,7 @@ outputs: | |
| - mkl-devel | ||
| - mkl-static | ||
| - mkl-devel-dpcpp # [ cxx_compiler == "dpcpp" ] | ||
| - {{ pin_subpackage('dal-gpu', exact=True) }} # [ cxx_compiler == "dpcpp" ] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Something here is not working correctly. It still gets pulled when it shouldn't. Either that, or |
||
| source_files: | ||
| - examples | ||
| - data | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.