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*

Dump assembly

zjin-lcf
Beginner
607 Views

Can you please list the steps of producing  assembly codes for a SYCL kernel ? The compiler is DPC++ and the selector is either cpu_selector or gpu_selector.  Thanks.

0 Kudos
1 Solution
DitiD_Intel
Moderator
556 Views

Hi,

 

Thank you for posting in Intel Communities.

 

>> Can you please list the steps of producing assembly codes for a SYCL kernel ?

 

You can use the /Fa or -Fa on Windows and Linux respectively to generate the assembly code while compiling with dpcpp compiler.

 

Please refer to the link mentioned below for more information.

 

https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compiler-reference/compiler-options/compiler-option-details/output-debug-and-precompiled-header-pch-options/fa.html#fa

 

If you still face any issues in generating assembly code, then please do share the environment details and a sample reproducer so that we can try it from our end.

 

 

Thanks & Regards,

Ditipriya.

 

View solution in original post

0 Kudos
2 Replies
DitiD_Intel
Moderator
557 Views

Hi,

 

Thank you for posting in Intel Communities.

 

>> Can you please list the steps of producing assembly codes for a SYCL kernel ?

 

You can use the /Fa or -Fa on Windows and Linux respectively to generate the assembly code while compiling with dpcpp compiler.

 

Please refer to the link mentioned below for more information.

 

https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compiler-reference/compiler-options/compiler-option-details/output-debug-and-precompiled-header-pch-options/fa.html#fa

 

If you still face any issues in generating assembly code, then please do share the environment details and a sample reproducer so that we can try it from our end.

 

 

Thanks & Regards,

Ditipriya.

 

0 Kudos
DitiD_Intel
Moderator
519 Views

Hi, 


Thanks for accepting our solution. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Thanks and Regards,

Ditipriya.



0 Kudos
Reply