reorganize debug device code
add notebook demo of gpu parsweep