- Jun 25, 2021
-
-
-
-
Alexandru Fikl authored
* add a flag to force device scalars on the CL array context * remove local pylintrc from meshmode * parametrize tests for force_device_scalars * add docs for force_device_scalars * add proper typing hints to _loopy_transform_cache * use np.isscalar instead of isinstance(Number) * fix type hints for _loopy_transform_cache * use specific type in _kernel_name_to_wait_event_queue * add pytest_generate_tests_for_array_context * add env var to select array context for tests * fix mypy issues * add a documented PytestArrayContextFactory * update test generator to return a closure * add a way to register factories as strings * actually fix the implementation * fix doc formatting * better names for global variables * move norm to BaseFakeNumpyLinalgNamespace * simplify and deduplicate pytest fixture setup
-
- Jun 19, 2021
-
-
- Jun 17, 2021
-
-
Andreas Klöckner authored
-
-
- Jun 14, 2021
-
-
-
-
Kaushik Kulkarni authored
* mimic numpy's norm when ord==None - When ord==None, numpy ravels the array and then computes the euclidean norm. * test norm when ord is None * fixup! mimic numpy's norm when ord==None Co-authored-by:
Andreas Klöckner <inform@tiker.net>
-
Kaushik Kulkarni authored
* implement PyOpenCLArrayContext.ravel * fixup! implement PyOpenCLArrayContext.ravel - order="K" was only correct for >0 stride values, instead renamed it to order="A" as per numpy. Co-authored-by:
Andreas Klöckner <inform@tiker.net>
-
-
-
-
- Jun 11, 2021
-
-
Matthias Diener authored
* add run-mypy.sh * use for github CI * add to gitlab * mypy -> python -m mypy Co-authored-by:
Andreas Klöckner <inform@tiker.net>
-
Matthias Diener authored
* add run-pylint.sh * add to gitignore
-
-
Andreas Klöckner authored
* Add a longer explainer on freeze and thaw * Add ArrayContext.clone * with_container_arithmetic: Add _same_cls_check * Add test for error-on-mixed-array-contexts * Improvements/fixes to freeze/thaw explainer Co-authored-by:
Alex Fikl <alexfikl@gmail.com> * Remove trailing whitespace (flake8) * Add link to lazy eval functionality under the hood of freeze/thaw * Stop using code injection for actx match checking in with_container_arithmetic * Make usage guidelines for freeze/thaw a separate section Co-authored-by:
Thomas H. Gibson <gibsonthomas1120@hotmail.com> * Tweak phrasing in freeze/thaw usage guidelines, add anchors * Remove an extraneous word in the freeze/thaw description Co-authored-by:
Alex Fikl <alexfikl@gmail.com> Co-authored-by:
Thomas H. Gibson <gibsonthomas1120@hotmail.com>
-
- Jun 10, 2021
-
-
-
Andreas Klöckner authored
-
- Jun 09, 2021
-
-
- Jun 07, 2021
-
-
Alexandru Fikl authored
* enable mypy in setup.cfg * add some more type annotations * add py.typed * add mypy to ci * fix some type annotations
-
- Jun 04, 2021
-
-
Andreas Klöckner authored
* CI: drop insecure curl, add downstreams, simplify * Use conda for pylint, don't install mpi4py * Drop pytential from downstream CI
-
- Jun 02, 2021
-
-
- May 29, 2021
-
-
Andreas Klöckner authored
* Implement, test container-over-container broadcasting * Tweak bcast_container_types arg doc Co-authored-by:
Alex Fikl <alexfikl@gmail.com> * Improvements to with_container_arithmetic - Support matmul with a separate operator class - Join container and number broadcasting code paths - Make args keyword-only Co-authored-by:
Alex Fikl <alexfikl@gmail.com>
-
- May 26, 2021
-
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-
-
- May 22, 2021
-
- May 21, 2021
-
-
Andreas Klöckner authored
Add actx.np.concatenate
-
Andreas Klöckner authored
Remove uneeded requirements
-
Thomas Gibson authored
-
Alexandru Fikl authored
-
Thomas Gibson authored
-