ECC RAM

If you are running a server with data of any value, you should try your best to afford ECC RAM.

Its more than correcting single bit errors; at least your machine will halt when memory errors are detected, instead of
silently corrupting data. In a nutshell, if you care about your data, use ECC.

If you are running a checksumming filesystem like ZFS consider use of ECC RAM to be a MUST.

AMD Processors

ECC will be suported if CPU, Chipset and Bios supports ECC functionality. Most modern AMD AM3+ CPU’s support ECC. Most AMD chipsets (like 760G) also do.

You need to check if Bios Supports too. If not, you may try to see if linux kernel can help you support it.
For AMD motherboards, ASUS explicitly says that they support ECC RAM. So if you plan on using ECC check out ASUS.
Motherboards from others like Gigabyte may support ECC but they don’t say it explicitly on their site (may be for marketing reasons).

Ryzen

Ryzen in general [supports][amd-ama] and use ECC. Ryzen APUs do not support ECC. Raven Ridge-based Processors do NOT support ECC.

Check ECC Support on Windows

You can check if your Windows instalation is actually using ECC by running the following:

Run CMD as Admin.
wmic MEMORYCHIP get DataWidth,TotalWidth

If the TotalWidth value is larger than the DataWidth value you then you have ECC memory working.

Ref:

[3] https://thetechskinny.blogspot.in/2010/11/enabling-ecc-memory-in-linux-without.html
[4] https://www.reddit.com/r/homelab/comments/2vza09/ecc_on_amd/
[amd-ama]:https://www.reddit.com/r/Amd/comments/5x4hxu/comment/def6vs2/