An AMD or Intel stock cooler should work on just about any motherboard without issue since it’s the most basic possible cooler for your CPU.
AMD stock coolers tend to offer more thermal performance than Intel’s as well, but aftermarket coolers are still where you get the best experience.