Add some more gpu tests

gpu_thread_barrier tests for race conditions

gpu_mixed_dimensionality tries a complex nested schedule on gpu
with a mix of scalar for loops and thread-parallelism