refactored gpu perf tests and fixed sanity tests
fixed gpu bitwise operations with scalars
fixed warp tests
Merge pull request #557 from jet47:gpu-sanity