Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*

How to use XMX with dpcpp on Xe-HPG

might
Beginner
1,865 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
1,836 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
1,837 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
1,828 Views

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

thanks again

0 Kudos
NoorjahanSk_Intel
Moderator
1,797 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