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*
801 Discussions

How to Enable GPU Acceleration for TensorFlow Using Intel GPU ?

AIdataJEON
Beginner
483 Views

How to Enable GPU Acceleration for TensorFlow Using Intel GPU

Hello,

I am using a laptop with an Intel GPU and would like to enable GPU acceleration for deep learning research. My laptop specifications are as follows:

  • CPU: 12th Gen Intel Core i7-1260P
  • GPU: Intel Iris Xe Graphics

From my research, there seem to be two possible ways to enable Intel GPU acceleration when using the TensorFlow library in Python:

  1. TensorFlow 2.11 + DirectML
  2. Latest TensorFlow + oneAPI

I would like to use the latest version of TensorFlow with oneAPI for GPU acceleration. However, even after installing oneAPI, TensorFlow does not detect the GPU.

There is no issue with GPU recognition in general, and my GPU drivers are up to date. However, TensorFlow fails to recognize the GPU.

Could you please help me resolve this issue?

Thank you!

0 Kudos
1 Reply
Sravani_K_Intel
Moderator
421 Views
0 Kudos
Reply