refactored gpu perf tests and fixed sanity tests
fixed gpu bitwise operations with scalars
fixed warp tests