diff --git a/examples/hello-loopy.py b/examples/hello-loopy.py index 3cb600d9049f35b3336523f12b8e128fc87610d7..629a6e6d085919579869e71ea47d28558b1b78a4 100644 --- a/examples/hello-loopy.py +++ b/examples/hello-loopy.py @@ -19,8 +19,8 @@ knl = lp.make_kernel(ctx.devices[0], "{[i]: 0<=i<n}", # "loop domain"-- what values does i take? "out[i] = 2*a[i]", # "instructions" to be executed across the domain [ # argument declarations - lp.GlobalArg("out", np.float32, shape=("n",)), - lp.GlobalArg("a", np.float32, shape=("n",)), + lp.GlobalArg("out", np.float32, shape="n"), + lp.GlobalArg("a", np.float32, shape="n"), lp.ValueArg("n", np.int32), ])