[WIP] Removing cast to int in GPUArray initialization to allow 0 sized arrays
- Removed
int(self.gpudata)
to allow forgpudata=None
. - Created
gpuarray.squeeze
to matchnp.squeeze
. - Added
gpuarray.squeeze
andgpuarray.reshape
to docs. - Was needed for passing https://github.com/inducer/arraycontext/blob/fd4d4d8bff8b4f5ae0b3960c7c9b021066ff388e/test/test_arraycontext.py#L1030.
- Needed for kaushikcfd/arraycontext!1.
Edited by Mit Kotak