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

Initial input for backend selection #2396

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
bd08406
Initial input for backend selection
May 30, 2023
32f71af
Update dev/make/cmplr.gnu.mkl.mk
amgrigoriev Jun 2, 2023
4173888
Update dev/make/cmplr.gnu.ref.mk
amgrigoriev Jun 2, 2023
3b8d239
Merge branch 'master' into dev/agrigorev-backend-selection
Jun 2, 2023
ed7ce18
Merge branch 'dev/agrigorev-backend-selection' of https://github.com/…
Jun 2, 2023
aa55677
Changed default backend to 'mkl'
Jun 2, 2023
193bb58
Buildable onedal_c
Jun 6, 2023
cc3b2fd
Added clang support
Jun 6, 2023
18225a8
Update dev/make/cmplr.gnu.mkl.mk
amgrigoriev Jun 6, 2023
39049aa
Update dev/make/cmplr.gnu.ref.mk
amgrigoriev Jun 6, 2023
a531c0f
Compiler fixes for icc, icx, vc plus clang-format
Jun 6, 2023
137771c
Merge branch 'dev/agrigorev-backend-selection' of https://github.com/…
Jun 6, 2023
8f366b7
Update dev/make/cmplr.clang.ref.mk
amgrigoriev Jun 6, 2023
3ef7d08
adding support for selecting different math/rng/service backends in c…
Jun 22, 2023
34f6708
fixed build issue with kmeans serialization
Jun 22, 2023
1224a3f
Merge pull request #1 from makart19/dev/amk_bazel_backend_selection
amgrigoriev Jun 22, 2023
336e772
Merge branch 'master' into dev/agrigorev-backend-selection
napetrov Jun 27, 2023
d7b46ea
Introducing backend_config param selection to build.sh
napetrov Jun 27, 2023
f2ae2cf
Create openblas.sh
napetrov Jun 27, 2023
4c95148
Introduce CI build for BLAS backend
napetrov Jun 27, 2023
7463322
adding execute permission on openblas.sh
napetrov Jun 28, 2023
fd38304
Update cpp/daal/src/externals/config_ref.h
amgrigoriev Jul 10, 2023
2ed525f
Update cpp/daal/src/externals/config_ref.h
amgrigoriev Jul 10, 2023
1ccbe05
Addressed part of the comments
Jul 11, 2023
6f294aa
Clang-format
Jul 11, 2023
6fb3617
Turned off hyperthreadig for ref config in order to use TBB default n…
Jul 11, 2023
7049297
Addressed more comments
Jul 12, 2023
3565f22
Macro fixed (APPLE)
Jul 12, 2023
126a48b
More changes in REF RNG
Jul 13, 2023
3614c75
Update build.sh
napetrov Jul 13, 2023
0657a7e
Removed 'sed' from Makefile
Jul 13, 2023
2154d93
Merge branch 'master' into dev/agrigorev-backend-selection
Jul 13, 2023
8e7b69e
Merge branch 'dev/agrigorev-backend-selection' of https://github.com/…
Jul 13, 2023
1f53810
Update openblas.sh
napetrov Jul 13, 2023
6eae7d6
Removed config_template from BAZEL
Jul 13, 2023
2470da8
Merge branch 'dev/agrigorev-backend-selection' of https://github.com/…
Jul 13, 2023
22fcdb8
Removed backend_config_header from BAZEL
Jul 13, 2023
559c440
Update openblas.sh
napetrov Jul 13, 2023
438710b
Replaced safe function not supported by GNU
Jul 14, 2023
55d1d60
Merge branch 'dev/agrigorev-backend-selection' of https://github.com/…
Jul 14, 2023
62b8ece
Fixed bugs in ref backend for OpenBLAS build
Jul 14, 2023
c7b5906
Fixed bugs in ref backend for OpenBLAS build #2
Jul 14, 2023
d18b453
Reduced header file dependencies in REF backend; removed << operator …
Jul 14, 2023
a4b7f2f
Update ci.yml
napetrov Jul 14, 2023
518fc92
Fixed export on symbols for OpenBLAS build
Jul 15, 2023
29b8314
Merge branch 'dev/agrigorev-backend-selection' of https://github.com/…
Jul 15, 2023
5066010
export.def handling in bazel
Jul 15, 2023
409c945
Update cpp/daal/src/externals/service_math_ref.h
amgrigoriev Jul 29, 2023
41dd3c8
Added libfgortran to REF build
Jul 31, 2023
6b19917
Merge branch 'dev/agrigorev-backend-selection' of https://github.com/…
Jul 31, 2023
4b994fe
removed config_template auxiliary func
Aug 1, 2023
1149bf3
Merge pull request #2 from makart19/dev/upd_bazel_cfg_templ_appr
amgrigoriev Aug 1, 2023
94b5b88
Merge branch 'dev/agrigorev-backend-selection' of https://github.com/…
Aug 1, 2023
d94ae6a
Removed libgfortran for REF backend
Aug 1, 2023
dc06a4c
Merge branch 'master' into dev/agrigorev-backend-selection
Aug 1, 2023
240d4a0
Fixed BACKEND incdirs for oneAPI; addressed some comments
Aug 8, 2023
f539a75
Removed unnecessary includes; fixed ifdef in _DECLAR_ files
Aug 8, 2023
3e6fdeb
fixed omitted ifdef in _DECLAR_ files
Aug 8, 2023
6461eed
Clang-format
Aug 8, 2023
f45f762
Clang-format fix
Aug 9, 2023
44be116
Added an option to move compression to exclude list for examples
Aug 9, 2023
61b30fb
Excluded compression examples for all configurations
Aug 14, 2023
79bc570
revert some macros to __intel_compiler
Aug 15, 2023
a8395ab
replase some more macros
Aug 15, 2023
2f8fb63
add NO_FORTRAN=1 to openblas.sh script
Aug 15, 2023
49bd0eb
Merge pull request #3 from amgrigoriev/dev/pyakovlev-fix-macros
amgrigoriev Aug 15, 2023
e0d3dcc
Update cpp/daal/src/externals/service_service_ref.h
napetrov Aug 15, 2023
67d6a43
Fixed missed fpk symbols for oneapi examples (REF backend)
Aug 15, 2023
fb37075
Merge branch 'dev/agrigorev-backend-selection' of https://github.com/…
Aug 15, 2023
865e128
Update cpp/daal/src/externals/service_service_ref.h
amgrigoriev Aug 16, 2023
3dca371
Update cpp/daal/src/externals/service_service_ref.h
amgrigoriev Aug 16, 2023
693235f
Merge branch 'master' into dev/agrigorev-backend-selection
Aug 17, 2023
8d5ee02
Fixed error message in oneapi
Aug 17, 2023
be4e3f9
exclude failed examples with ref backend
Aug 17, 2023
5e5d405
Merge pull request #4 from amgrigoriev/dev/pyakovlev-add-exclude-exam…
amgrigoriev Aug 17, 2023
f73e50c
exclude examples for oneapi/cpp ifaces
Aug 18, 2023
2f9334a
Merge pull request #5 from amgrigoriev/dev/pyakovlev-exclude-oneapi-e…
amgrigoriev Aug 18, 2023
85e22d0
exclude mpi examples for ref backend
Aug 18, 2023
8c817a6
Merge pull request #6 from amgrigoriev/dev/pyakovlev-add-exclude-exam…
amgrigoriev Aug 18, 2023
1315182
Apply suggestions from code review
napetrov Aug 18, 2023
7ecf32c
AVX512_MIC cleanup
Aug 20, 2023
55de110
Merge branch 'master' into dev/agrigorev-backend-selection
Aug 20, 2023
9e6ee5a
Fixed CI pipeline
Aug 20, 2023
0c7c3e0
Added more includes for ONEAPI
Aug 20, 2023
a09c3ef
Update .ci/pipeline/ci.yml
napetrov Aug 21, 2023
243b094
Switch to core count for blas build
napetrov Aug 21, 2023
8fe15f0
Update .ci/env/openblas.sh
napetrov Aug 21, 2023
2858360
Adding _MKL suffix for job name
napetrov Aug 21, 2023
ee5458f
Fixing daal4py job dependency
napetrov Aug 21, 2023
7f127df
Merge branch 'master' into dev/agrigorev-backend-selection
Aug 24, 2023
d642dac
Merge branch 'master' into dev/agrigorev-backend-selection
Aug 25, 2023
31416b2
Attempt to fix warnings
Aug 25, 2023
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
exclude examples for oneapi/cpp ifaces
  • Loading branch information
Pavel Yakovlev committed Aug 18, 2023
commit f73e50ca914f50ddea822695a31de1501fed14dd
2 changes: 1 addition & 1 deletion .ci/pipeline/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
.ci/scripts/test.sh --test-kind examples --build-dir $(release.dir) --compiler gnu --interface daal/cpp --build_system cmake --backend ref
displayName: 'daal/cpp examples'
- script: |
.ci/scripts/test.sh --test-kind examples --build-dir $(release.dir) --compiler gnu --interface oneapi/cpp --build_system cmake
.ci/scripts/test.sh --test-kind examples --build-dir $(release.dir) --compiler gnu --interface oneapi/cpp --build_system cmake --backend ref
displayName: 'oneapi/cpp examples'
- script: |
.ci/scripts/test.sh --test-kind samples --build-dir $(release.dir) --compiler gnu --interface daal/cpp/mpi --conda-env ci-env --build_system make
Expand Down
9 changes: 9 additions & 0 deletions examples/oneapi/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,22 @@ set_common_compiler_options()

include_directories(source)

option(REF_BACKEND "Exclude not supported files for non-MKL backend" OFF)

# Initialize the EXCLUDE_LIST variable
set(EXCLUDE_LIST
"source/utils/*"
"source/example_util/*"
"jaccard_batch_app"
)

if(REF_BACKEND)
set(EXCLUDE_LIST
${EXCLUDE_LIST}
"source/pca/*"
)
endif()

# Define variable to specify the examples or directories to include or exclude
option(EXAMPLES_LIST "")

Expand Down