Review on role of nanoscale HfO2 switching material in resistive random access memory device