Add device asserts
Merge pull request #1 from Sniper-/cm-10.1

Add device asserts