Skip to content
Snippets Groups Projects
Commit 53f832a7 authored by Thomas Gibson's avatar Thomas Gibson Committed by Andreas Klöckner
Browse files

Add actx.np.reshape

parent 322e2253
No related branches found
No related tags found
No related merge requests found
......@@ -129,6 +129,10 @@ class PyOpenCLFakeNumpyNamespace(BaseFakeNumpyNamespace):
queue=self._array_context.queue),
*arrays)
def reshape(self, a, newshape):
import pyopencl.array as cla
return cla.reshape(a, newshape)
def concatenate(self, arrays, axis=0):
import pyopencl.array as cla
return cla.concatenate(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment