# Mac's AMD GPU

**URL:** <https://discourse.julialang.org/t/macs-amd-gpu/33014>\
**Category:** GPU\
**Created:** [January 6, 2020, 1:56am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014 "2020-01-06T01:56:45Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![tomtom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomtom/32/5106_2.png) [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Post date:** [January 7, 2020, 10:15am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/21 "2020-01-07T10:15:15Z")

</div>

it’s really confusing as it conflicts with [Apple’s OpenCL support](https://support.apple.com/en-us/HT202823).

In particular, it says the OpenGL and OpenCL are supported even for Mac Pro 2019.

---

<div class="post-metadata">

**Author:** ![davidbp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidbp/32/463_2.png) [@davidbp](https://discourse.julialang.org/u/davidbp)\
**Post date:** [January 7, 2020, 10:16am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/22 "2020-01-07T10:16:18Z")

</div>

Well, it’s compatible as long as you don’t use the latest version of OSX, that is the logic. The hardware is compatible, not the software.

---

<div class="post-metadata">

**Author:** ![tomtom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomtom/32/5106_2.png) [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Post date:** [January 7, 2020, 10:17am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/23 "2020-01-07T10:17:47Z")

</div>

but Mac Pro 2019 is shipped with the latest macOS, so??? 🤔 🤪 😵

---

<div class="post-metadata">

**Author:** ![davidbp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidbp/32/463_2.png) [@davidbp](https://discourse.julialang.org/u/davidbp)\
**Post date:** [January 7, 2020, 10:20am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/24 "2020-01-07T10:20:09Z")

</div>

“Just downgrade it and you can use openCL” great logic for a workstation with a propietary ssd conector.

The SSD is also fully upgradable but yout can’t buy any SSD with the input connector of the machine they sell you (you can still use a PCIE card with a ssd though).

---

<div class="post-metadata">

**Author:** ![tomtom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomtom/32/5106_2.png) [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Post date:** [January 7, 2020, 10:22am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/25 "2020-01-07T10:22:19Z")

</div>

seems like it’s the time to say goodbye to Mac and switch to a Ubuntu machine… 😢

unfortunately most vendors are distributing their machines with Windows but not Ubuntu? any good vendor to suggest?

---

<div class="post-metadata">

**Author:** ![davidbp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidbp/32/463_2.png) [@davidbp](https://discourse.julialang.org/u/davidbp)\
**Post date:** [January 7, 2020, 10:24am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/26 "2020-01-07T10:24:05Z")

</div>

Both HP and Dell sell workstations with ubuntu and their hardware is quite nice. Even if they sell it with ubuntu you can do a dual boot system and install linux as well… Both HP and Dell discount you the operating system form the total cost of the machine if you don’t want to pay the windows tax.

In any case, if OpenCL is something you would want, write an email to apple! I did it. If hundreds of users do it maybe they might care (like the ESC key from the macbook pro which is comming back).

---

<div class="post-metadata">

**Author:** ![tomtom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomtom/32/5106_2.png) [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Post date:** [January 7, 2020, 10:31am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/27 "2020-01-07T10:31:03Z")

</div>

actually I purchased an expensive Dell Precision T7910 (with Ubuntu) several years ago… but it’s so **disappointing** : the machine keeps crushing because of various problems in RAM, CPU, cooler, SSD, motherboard etc. Almost every part of the original machine was replaced in a two year period until it finally worked. A real nightmare for me.

It’s the big reason for me to have high hope on Mac, but now Apple is not using Nvidia and OpenCL 😢

---

<div class="post-metadata">

**Author:** ![davidbp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidbp/32/463_2.png) [@davidbp](https://discourse.julialang.org/u/davidbp)\
**Post date:** [January 7, 2020, 10:35am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/28 "2020-01-07T10:35:28Z")

</div>

I guess you can allways have bad luck… We have the same machine in the lab working with 2 fpgas (24/7) and we have had no issues.

I have a mac pro 2013 and I had to change the CPU and motherboard twice because of RAM issues. Moreover, I’ve had a bad customer service experience (contrary to the mantra that the customer satisfaction is the best one). Probably I just had bad luck.

---

<div class="post-metadata">

**Author:** ![tomtom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomtom/32/5106_2.png) [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Post date:** [January 7, 2020, 10:45am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/29 "2020-01-07T10:45:42Z")

</div>

life is difficult…even when u purchased a supposed-to-be top machine 😢

@Tamas_Papp and everyone: any suggestion of a **reliable** and powerful machine that runs Ubuntu? ( **not Dell** please) thanks.

---

<div class="post-metadata">

**Author:** ![LaurentPlagne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laurentplagne/32/10103_2.png) [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Post date:** [January 7, 2020, 11:01am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/30 "2020-01-07T11:01:04Z")

</div>

Got a pretty good msi machine (prestige) that can run ubuntu with a discrete gpu card. In addition it can be found without any OS.

---

<div class="post-metadata">

**Author:** ![tomtom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomtom/32/5106_2.png) [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Post date:** [January 7, 2020, 11:03am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/31 "2020-01-07T11:03:11Z")

</div>

thanks. certainly helps if a link could be provided. 😀

found on the web a company called [System76.com](http://System76.com) that sells high-end Ubuntu machines. Anyone tried it?

---

<div class="post-metadata">

**Author:** ![LaurentPlagne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laurentplagne/32/10103_2.png) [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Post date:** [January 7, 2020, 11:20am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/32 "2020-01-07T11:20:11Z")

</div>

[MSI USA | 404 Not found](https://us.msi.com/Laptop/Prestige-15-A10X) (I was not able to find the exact model (outdated) I took neither the version without OS)

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [January 7, 2020, 11:24am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/33 "2020-01-07T11:24:23Z")

</div>

```julia
actually I purchased an expensive Dell Precision T7910 (with Ubuntu) several years ago… but it’s so disappointing: the machine keeps crushing because of various problems in RAM, CPU, cooler, SSD, motherboard etc. Almost every part of the original machine was replaced in a two year period until it finally worked. A real nightmare for me.

```

That must be bad luck… I’ve been on windows my whole life, and my hardware regularly outlived several macs in my friend circle. Additional bonus: seems when a Mac breaks down it’s also a big horror story, or at least very expensive, to get it back into shape…

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 7, 2020, 11:25am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/34 "2020-01-07T11:25:24Z")

</div>

“Reliable” is a very vague term, and depends on your tolerance for downtime and data loss. Of course we all hate when either of those happen, but in practice a 99.9% uptime is more than enough for a workstation since downtime from maintenance etc will be comparable.

Use redundancy (RAID), ECC RAM if you can afford it (though some argue that it is not necessary for most applications), a reasonable motherboard (eg mid-range Asus or similar), a reliable PSU (I personally like BeQuiet, there are other great options there), quality RAM (mid-range Kingston or Crucial, no need for their fastest).

Don’t overclock, make sure airflow is OK, backup regularly, and then you are all set. All components of course can fail, catch fire, be struck by a meteorite, etc. Nothing is 100% reliable.

If you really want pre-assembled and pre-installed for a workstation, you should investigate options from these lists, depending on your location:

> **[A curated list of linux laptop and desktop vendors](https://linuxpreloaded.com/)**
>
> Linux desktops and laptops from around the world

[https://help.ubuntu.com/community/UbuntuPre-installed](https://help.ubuntu.com/community/UbuntuPre-installed)

( **EDIT** : we had pretty good experience with Dell though.)

---

<div class="post-metadata">

**Author:** ![tomtom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomtom/32/5106_2.png) [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Post date:** [January 7, 2020, 11:33am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/35 "2020-01-07T11:33:46Z")

</div>

thanks for the suggestions.

> [@Tamas\_Papp](#):
>
> in practice a 99.9% uptime is more than enough

unfortunately my Dell T7910 had \< 75% uptime during the first two years of purchase. Basically I could never completed any job that runs over several days. Completely unacceptable.

btw, I have to declare that I’m in Hong Kong, and the Dell components (e.g. motherboard) were shipped from their China ShenZhen factories. FWIW, do NOT buy any serious thing made in China!

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 7, 2020, 11:50am UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/36 "2020-01-07T11:50:58Z")

</div>

Whether you want hardware with a support contract from a company like Dell or commodity parts assembled with your very own screwdriver depends on various things, like

1. what you institution allows (if applicable)
2. how comfortable you are with putting together hardware and diagnosing problems
3. if you are the only user of this machine, or if not, how others will tolerate downtime when you are not available

In academia, it is becoming more and more common for a couple of people to band together and assemble a neat little server. It usually provides the best value for money, and _can_ lead to very little unplanned downtime but requires some commitment, and investment of time.

However, faulty hardware that can be difficult to diagnose can happen to just about anyone. CPU and burn-in tests are usually revealing, and so is SMART monitoring, but they do not catch 100% of the problems. People sometimes underestimate the importance of the PSU (though mid-range motherboards can handle minor fluctuations better these days), and a small UPS that can bridge power cuts that last less than 5 minutes.

---

<div class="post-metadata">

**Author:** ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)\
**Post date:** [January 7, 2020, 12:13pm UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/37 "2020-01-07T12:13:38Z")

</div>

To me, the choice of computer is mainly about ergonomics and software. Paying a $1000-$1500 ‘Apple premium’ is irrelevant for a work computer that is supposed to last \>5 years. If it makes me even a fraction of one percent more productive, it’s worth it. In fact, probably the cost of switching OS and getting everything set up for my workflows will probably be nearly as much over the first week.

(Also, I absolutely hate the way the Dell Precision (the main alternative for me) looks, with gigantic, 1990s-style bezels. It’s incredibly disctracting when I look at my colleagues’s laptops. Why could they not make a screen similar to the XPS?)

My concern now is whether choosing a Mac means I’m completely closing the door on doing any gpu-processing (from Python and Julia). My understanding so far is that if can switch to linux for those particular cases, it shouldn’t be too much of a problem.

---

<div class="post-metadata">

**Author:** ![jpsamaroo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jpsamaroo/32/46804_2.png) [@jpsamaroo](https://discourse.julialang.org/u/jpsamaroo)\
**Post date:** [January 7, 2020, 1:24pm UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/38 "2020-01-07T13:24:22Z")

</div>

To the question about using other GPUs with AMDGPUnative, no, you cannot. We only do codegen for the AMDGPU LLVM target, although it honestly wouldn’t be hard to do codegen for other targets while retaining most of the compiler infrastructure. But it’s not a near-term possibility right now.

Regarding Apple’s foolish decision to remove OpenCL support: while I will not be implementing Metal support myself, I will accept PRs for integrating a hypothetical MetalRuntime.jl as a backend, if such a thing is possible. All of the codegen must occur in AMDGPUnative, though (we won’t call into Metal or HIP to do codegen, if that is required).

I heavily recommend going with a Linux machine given this news about OpenCL, though.

---

<div class="post-metadata">

**Author:** ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)\
**Post date:** [January 7, 2020, 2:07pm UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/39 "2020-01-07T14:07:03Z")

</div>

> [@jpsamaroo](#):
>
> I heavily recommend going with a Linux machine given this news about OpenCL, though.

Do you mean any machine that runs Linux, including Macs? Or do you foresee issues with support for drivers on Mac, even under Linux?

(Sorry for the asking possibly obvious questions, I just want to make sure I understand correctly before making an investment.)

---

<div class="post-metadata">

**Author:** ![jpsamaroo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jpsamaroo/32/46804_2.png) [@jpsamaroo](https://discourse.julialang.org/u/jpsamaroo)\
**Post date:** [January 7, 2020, 4:25pm UTC](https://discourse.julialang.org/t/macs-amd-gpu/33014/40 "2020-01-07T16:25:42Z")

</div>

Yes, that also works (assuming you can get Linux installed successfully). Macs are otherwise standards-compliant x86\_64 systems, and use vanilla AMD GPUs to my understanding, so that should work fine as long as you’re running Linux bare-metal (not via a VM).

[Previous page](https://discourse.julialang.org/t/macs-amd-gpu/33014.md?page=1)

[Next page](https://discourse.julialang.org/t/macs-amd-gpu/33014.md?page=3)
