Skip to content

Can the oneDAL branches build without DPC++? #1406

Answered by napetrov
emmenlau asked this question in Q&A
Discussion options

You must be logged in to vote

@emmenlau thanks for your question!

DPC++ compiler is required for full compilation, but in case you are looking for CPU part - it's not required.
You can use 'daal' target in make for CPU only part for our previous version of interfaces.
Or you can use 'oneapi_c' target in make for our new C++ level APIs without DPC++ support - in both cases you don't need DCP++ compiler.

Answering your questions:

Yes, you can still use gcc/clang/MSVC compiler to build library with CPU support only.
Yes, for GPU support you will need DPC++ compiler.

As i mention above you can use existing make for building required targets. And we probably have to better document those details. @outoftardis

The question …

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by napetrov
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #997 on February 01, 2021 17:48.