3

Does TensorFlow have GPU support for a late 2015 mac running an AMD Radeon R9 M370X

AMD Radeon R9 M370X:
Chipset Model:  AMD Radeon R9 M370X
Type:   GPU
Bus:    PCIe
PCIe Lane Width:    x8
VRAM (Total):   2048 MB
Vendor: ATI (0x1002)
Device ID:  0x6821
Revision ID:    0x0083
ROM Revision:   113-C5670E-777
Automatic Graphics Switching:   Supported
gMux Version:   4.0.20 [3.2.8]
EFI Driver Version: 01.00.777
Metal:  Supported
Thomas Kühn
  • 9,412
  • 3
  • 47
  • 63
user3554141
  • 39
  • 2
  • 4
  • 1
    Possible duplicate of [Using Keras & Tensorflow with AMD GPU](http://stackoverflow.com/questions/37892784/using-keras-tensorflow-with-amd-gpu) – Steven Mar 15 '17 at 19:35
  • There's no support for AMD on MacBook (and possibly there will never be). There's a bit of hope for AMD on Linux though – Yaroslav Bulatov Mar 16 '17 at 03:29

3 Answers3

1

OpenCL is currently not supported.

You can follow the progress here: https://github.com/tensorflow/tensorflow/issues/22

Steven
  • 5,134
  • 2
  • 27
  • 38
  • The latest update on the SYCL implementation enabling TensorFlow on OpenCL devices is here, there is progress being made https://www.codeplay.com/portal/02-14-17-bringing-the-acceleration-of-opencl-to-tensorflow-with-sycl – Rod Burns Mar 20 '17 at 09:56
0

good news! tf-coriander support amd gpu for tensorflow. Proven on MBP2017AMD Radeon 560!!

Gianmar
  • 505
  • 3
  • 13
  • 2
    but tensorflow version is too old and maybe run slower than only use cpu – wyx Aug 01 '18 at 02:33
  • That repo is currently broken. It does not work with the latest Tensorflow build as of this writing (1.11). – rayryeng Oct 19 '18 at 15:22
0

With NVIDIA you could easily do it with CUDA but since you have AMD graphics card you can use OpenCL. I have tested it and it worked fine. You can get complete steps here. https://stackoverflow.com/a/60016869/6117565

bikram
  • 7,127
  • 2
  • 51
  • 63