move the hardware_barrier to the examples directory