Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is HIP and why can’t you run it on the ryzen 3400g?

Tags:

I am interested in running deep learning code on my Ryzen 3400g system. Online I saw:

I trying to use Vega 11 on my Ryzen 3400G, I'm aware that I cannot run HIP, but I possibly could run opencl on this APU, my first step is to import tensorflow, but I got an error,

This is from https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/issues/669

Is it really impossible to use the ryzen 3400g with Radeon vega 11 gpu with tensorflow?

—————

Could it be made to work with opencl instead (as in https://missinglink.ai/guides/tensorflow/tensorflow-support-opencl/ )?

like image 509
graffe Avatar asked Aug 02 '20 05:08

graffe


People also ask

Is AMD Ryzen 5 3400G any good?

AMD's four-core eight-thread Ryzen 5 3400G comes packing AMD's Zen+ processing cores paired with AMD's RX Vega integrated graphics engine, a combo that's surely to land among the list of best CPUs for gaming because it can push playable framerates for low-resolution gaming if you're willing to make the trade-off of ...

Is a Ryzen 5 3400G good for gaming?

The Ryzen 5 3400G is a recent addition to a long line of graphics-accelerated chips made for budget-friendly gaming PCs—so, no graphics card required. That's a great money saver, and even the RX Vega 11 GPU silicon found within the Ryzen 5 3400G is enough for some low- to mid-end gaming at low resolution.

What Games Can AMD Ryzen 5 3400G run?

This AMD CPU can run 919 of the top 1000 games - so we give it a 91% rating. Games that this CPU can run include Fortnite, Apex Legends, Minecraft, PUBG, GTA V, League of Legends, Overwatch and Rainbow Six Siege.

Is Ryzen 5 3400G discontinued?

CDW States AMD Ryzen 5 3400G Discontinued.


1 Answers

According to the official HIP Github page,:

HIP is a C++ Runtime API and Kernel Language that allows developers to create portable applications for AMD and NVIDIA GPUs from single source code.

And yes you can use tensorflow library like a normal python module, but you cannot use tensorflow-gpu which leverages Cuda cores available only Nvidia GPUs. And the Radeon Open Compute project is basically aimed at 'HPC and Ultrascale computing' and you can see the official supported GPUs here. They have also mentioned that the ROCm project does not support built-in GPUs.

The integrated GPUs in AMD APUs are not officially supported targets for ROCm

So basically the answer is no, you won't be able to run tensorflow-gpu on your Ryzen 3600G system but you can use the normal tensorflow library without GPU acceleration. There are lots of threads discussing the issue so hopefully something will come up soon.

like image 150
krxat Avatar answered Oct 02 '22 13:10

krxat