def METHOD_NAME(self, mode):
    s = np.random.randn(200)
    k = np.random.randn(300)
    res = np.convolve(s, k, mode=mode)
    bm.use_gpu()
    s = bm.array(s)
    k = bm.array(k)
    res_gpu = bm.convolve(s, k, mode=mode)
    self.cp.testing.assert_array_almost_equal(res_gpu, res, decimal=8)