Closed inducer closed 3 years ago
Move PyOpenCLFakeNumpyNamespace (and the linalg bit) to a submodule so that we can import pyopencl globally there and avoid all these repetitive, performance-killing imports https://github.com/inducer/arraycontext/blob/322c18fe1983c6a03a7c86bf0ec3fb401422353a/arraycontext/impl/pyopencl.py#L114-L127
PyOpenCLFakeNumpyNamespace
pyopencl
while still avoiding a hard dependency on pyopencl.
Move
PyOpenCLFakeNumpyNamespace
(and the linalg bit) to a submodule so that we can importpyopencl
globally there and avoid all these repetitive, performance-killing imports https://github.com/inducer/arraycontext/blob/322c18fe1983c6a03a7c86bf0ec3fb401422353a/arraycontext/impl/pyopencl.py#L114-L127while still avoiding a hard dependency on pyopencl.