update device name for assert function

Signed-off-by: Humberto Borba <humberos@gmail.com>