remove isBarrier from conditional branches and merged the openmp pathfinder example with opencl for comparison