Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and GDB*

How to use XMX with dpcpp on Xe-HPG

might
Beginner
494 Views

hi,as I mentioned bolow,I know that there are XMXs on Xe-HPG,which are used to do GEMM,but I don't know how to use it explicitly with dpcpp .could you give me some help, please.

0 Kudos
1 Solution
NoorjahanSk_Intel
Moderator
465 Views

Hi,


Thanks for reaching out to us.


You can use it using experimental oneAPI extension, joint_matrix from DPC++ extension, sycl_ext_oneapi_matrix.


Please refer to the below link for more details:

https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_matrix.asciidoc


Please refer to the below link for a sample program:

https://github.com/intel/llvm-test-suite/blob/intel/SYCL/Matrix/joint_matrix_bfloat16.cpp


Thanks & Regards,

Noorjahan.


View solution in original post

0 Kudos
3 Replies
NoorjahanSk_Intel
Moderator
466 Views

Hi,


Thanks for reaching out to us.


You can use it using experimental oneAPI extension, joint_matrix from DPC++ extension, sycl_ext_oneapi_matrix.


Please refer to the below link for more details:

https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_matrix.asciidoc


Please refer to the below link for a sample program:

https://github.com/intel/llvm-test-suite/blob/intel/SYCL/Matrix/joint_matrix_bfloat16.cpp


Thanks & Regards,

Noorjahan.


0 Kudos
might
Beginner
457 Views

Thank you very much for your reply, it was very helpful to me。

thanks again

0 Kudos
NoorjahanSk_Intel
Moderator
426 Views

Hi,


Thanks for accepting our solution.

As this issue has been resolved, we will no longer respond to this thread. If you need any additional information, please post a new question


Thanks & Regards,

Noorjahan.


0 Kudos
Reply