softcascade: remove device dependency on gpu