Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Ajmeer_Khan
Employee
497 Views

Linking DAAL library with dpc++

Jump to solution

How to link DAAL library with dpc++?

I am trying to compile dpc++ with DAAL library but i am facing some issues.I post my issue below.Can you help me to resolve this issues? 

0 Kudos
1 Solution
ChithraJ_Intel
Moderator
436 Views

Hi Ajmeer,


Please let us know whether your issue is resolved or not. Are you able to run oneDAL sample with DPC++ complier? If so, can we discontinue monitoring this thread?

Regarding the FPGA support, we could observe that you have a different thread with similar content and will address your issue in that thread. Link: https://community.intel.com/t5/Intel-oneAPI-Data-Analytics/Compiling-oneDAL-library-with-dpc/m-p/121...


Regards,

Chithra


View solution in original post

5 Replies
ChithraJ_Intel
Moderator
473 Views

Hi Ajmeer,


Thanks for reaching out to us.

Could you please follow the below steps to build the DAAL samples with DPC++ complier:

1. Copy the daal folder from inteloneapi folder which is preinstalled in Devcloud to your home folder:

cp -r /opt/intel/inteloneapi/daal /home/uxxxxx/

2. Setting up oneAPI environment via setvars.sh script:

source /opt/intel/inteloneapi/setvars.sh

3. You can find the DAAL sycl samples in the below folder:

cd daal/2021.1-beta09/examples/daal/cpp_sycl

4. Use the makefile to build and run the DAAL examples, You can try any of the below commands:

  • make libintel64 example=pca_cor_dense_batch 

[Now, it will build by Intel(R) oneAPI Compiler (as default) and run pca example for 64-bit applications and do static linking]

  • make sointel64 example=pca_cor_dense_batch 

[build by Intel(R) oneAPI Compiler (as default) and run pca example for Intel(R)64 processor family applications, dynamic linking]

  • make libintel64 [To build and run all the samples via static linking]
  • make sointel64 [To build and run all the samples via dynamic linking]

Hopes this helps for you. Please reach out to us in case of any issues/queries.

Regards,

Chithra



Ajmeer_Khan
Employee
470 Views

Hi Chitra,

Thanks for your answer.I will check this .I have another question.

will oneDAL support FPGA?

Tags (1)
ChithraJ_Intel
Moderator
437 Views

Hi Ajmeer,


Please let us know whether your issue is resolved or not. Are you able to run oneDAL sample with DPC++ complier? If so, can we discontinue monitoring this thread?

Regarding the FPGA support, we could observe that you have a different thread with similar content and will address your issue in that thread. Link: https://community.intel.com/t5/Intel-oneAPI-Data-Analytics/Compiling-oneDAL-library-with-dpc/m-p/121...


Regards,

Chithra


View solution in original post

Ajmeer_Khan
Employee
430 Views

Hi Chitra,

Yes Chitra .I am able to compile and run oneDAL with dpc++ but I am not able to compile the code for FPGA. So that I have posted this question separately. You can close this thread. Thanks for your support. 

Tags (1)
ChithraJ_Intel
Moderator
417 Views

Hi Ajmeer,


Thanks for the confirmation. We would discontinue monitoring this thread. Please feel free to raise a new thread if you need further assistance.


Regards,

Chithra


Reply