2013-07-25 Ragner Magalhaes <ranger.n@samsung.com>

        Fix MacOS freeze on Barkley demo
        Issue #253

        Reviewed by Antonio Gomes.

        Add missing global offsets for kernel calls.
        Without the offsets barkley kernel will produce
        negative values to the indexes of the buffer
        accessing invalid memory address.