Was RandomX made specifically for CPUs or GPUs for mining? I know it's ASIC resistant.
RandomX is designed to run efficiently on general purpose hardware, e.g. CPUs and to some extent, GPUs.
Quoting the project README:
RandomX is a proof-of-work (PoW) algorithm that is optimized for general-purpose CPUs. RandomX uses random code execution (hence the name) together with several memory-hard techniques to minimize the efficiency advantage of specialized hardware.
And quoting the section on GPUs:
Note that GPUs are at a disadvantage when running RandomX since the algorithm was designed to be efficient on CPUs.
Note that whilst GPU mining wont be as efficient as CPU mining, GPU mining is still effective on RandomX, it just wont have the same advantage it currently has over CPU mining with the current algorithm, CryptonightR.