'https://github.com/ContinuumIO/numbapro/issues/90'

def test_broadcast_bug_90(self):

    a = np.random.randn(100, 3, 1)
    b = a.transpose(2, 1, 0)
    def fn(a, b):
        return (a - b)
    @vectorize(['float64(float64,float64)'], target='cuda')
    def fngpu(a, b):
        return (a - b)
    expect = fn(a, b)
    got = fngpu(a, b)
    np.testing.assert_almost_equal(expect, got)
