2.8 Adaptive Subdivision
Here are the steps:


Select Cycles for Render Engine
Select Experimental for Feature Set
Select Dicing Rate and Preview count in Subdivision drop down
Select Subdivision Modifier from Modifiers tab but do not apply it
Check Adaptive check box and choose dicing scale
Done!


I hope that helps