Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MGRAV
New Contributor I
524 Views

FFT with oneMKL

Jump to solution

Hi,

I am currently trying the new oneAPI,

I have the impression that if we pass the simple level of arithmetic computation, examples are coming rare.

Would be possible to have a simple example of FFT computation using oneMKL, with the associate compile line for the devCloud ?

Best,

Mathieu

0 Kudos
1 Solution
Khang_N_Intel
Employee
524 Views

Hi Mathieu,

There are oneMKL FFT examples that come with the Intel(R) oneAPI Base Toolkit

Assuming that you install the toolkit for linux* under the folder /opt/intel.  The oneMKL examples will be in the folder: /opt/intel/inteloneapi/mkl/latest/examples.

The oneMKL DPC++ examples will be in the compressed file examples_sycl.tgz

After un-compressing that file, you will find FFT examples in the fold ...sycl/dft

Use the command make to compile and link the examples.  Typing only the command make will show you many options on how to compile and link the examples.  You can capture the screen or redirect the output to a file to see how the examples are compiled and linked.

To get started on devcloud, please follow this link:

https://devcloud.intel.com/datacenter/learn/getting-started/

Hope this helps!

Khang

View solution in original post

4 Replies
Khang_N_Intel
Employee
525 Views

Hi Mathieu,

There are oneMKL FFT examples that come with the Intel(R) oneAPI Base Toolkit

Assuming that you install the toolkit for linux* under the folder /opt/intel.  The oneMKL examples will be in the folder: /opt/intel/inteloneapi/mkl/latest/examples.

The oneMKL DPC++ examples will be in the compressed file examples_sycl.tgz

After un-compressing that file, you will find FFT examples in the fold ...sycl/dft

Use the command make to compile and link the examples.  Typing only the command make will show you many options on how to compile and link the examples.  You can capture the screen or redirect the output to a file to see how the examples are compiled and linked.

To get started on devcloud, please follow this link:

https://devcloud.intel.com/datacenter/learn/getting-started/

Hope this helps!

Khang

View solution in original post

Gennady_F_Intel
Moderator
524 Views

please also check how to link with MKL 2021 beta bt using the MKL Linker Adviser.  Selecting Intel Product as oneAPI MKL 2021.1-beta and Adviser will give you the link line,

MGRAV
New Contributor I
524 Views

Thanks both, I find the examples !

And I was able to compile.

Thanks,

Mathieu

Khang_N_Intel
Employee
524 Views

Hi Mathieu,

That's great!

If you have any other questions or suggestions please do not hesitate to contact me.

Best regards,

Khang

 

Reply