Question: does all ddr4 work with ryzen?
Answer: Normally that is not a problem—so long as you're not trying to install an ultra-cheap memory module that you picked up from some dude in a trench coat on a street corner (along with that Rolex), DDR4 RAM should simply work in any motherboard with DDR4 DIMM slots.