- Dec 05, 2021
-
-
nchristensen authored
* Make if_positive keep strides of then_ if known. The previous version of `if_positive` always returns a C-ordered array even if `then_` is not C-ordered. This breaks artificial viscosity in Mirgecom when an array context uses a Fortran style data layout. This change makes the output have the same strides as `then_` if the shape of `then_` is known, otherwise it defaults to use the same layout as `criterion`. * Increment version * Resolve Flake8 failures * Use more idiomatic != in shape comparison Co-authored-by: Andreas Klöckner <inform@tiker.net>
-
- Nov 24, 2021
-
-
- Oct 20, 2021
-
-
- Oct 18, 2021
-
-
Andreas Klöckner authored
-
-
- Oct 07, 2021
-
-
Andreas Klöckner authored
-
-
-
- Oct 06, 2021
-
-
Andreas Klöckner authored
-
-
- Aug 16, 2021
-
-
Andreas Klöckner authored
Fix skipping of SPIR-V test for Nvidia driver See merge request !137
-
Andreas Klöckner authored
-
Robert Haase authored
* make function also work in a subclass * Use __class__ instead of type() Co-authored-by: Andreas Klöckner <inform@tiker.net> Co-authored-by: Andreas Klöckner <inform@tiker.net>
-
- Jul 07, 2021
-
-
Andreas Klöckner authored
-
- Jul 06, 2021
-
-
Kaushik Kulkarni authored
* implement broadcasting array binary ops with device scalars * test broadcasting array binary ops with device scalars * re-add some asserts (better to be safe) * be explicit in error msg op -> operator Co-authored-by: Andreas Klöckner <inform@tiker.net> * array binops: include asserts on out.shape as well * set default args more elegantly * Array shape checks: save shapes in temporaries Co-authored-by: Andreas Klöckner <inform@tiker.net>
-
- Jun 30, 2021
-
-
There are small typos in: - aksetup_helper.py - doc/types.rst - examples/black-hole-accretion.py - pyopencl/__init__.py - pyopencl/cl/pyopencl-random123/array.h Fixes: - Should read `unconditional` rather than `uncondtional`. - Should read `transferring` rather than `transfering`. - Should read `recipes` rather than `recipies`. - Should read `preferred` rather than `prefered`. - Should read `corresponding` rather than `correpsonding`. - Should read `arrays` rather than `arrrays`. Closes #500
-
- Jun 27, 2021
-
-
Andreas Klöckner authored
-
-
-
Andreas Klöckner authored
-
-
-
- Jun 26, 2021
-
-
Andreas Klöckner authored
* Drop Py2-only Array.__nonzero__ * Adapt docs to absence of Array.__nonzero__
-
- Jun 25, 2021
-
-
- Jun 24, 2021
-
-
Andreas Klöckner authored
-
- Jun 23, 2021
-
-
- Jun 21, 2021
-
-
- Jun 14, 2021
-
-
-
Kaushik Kulkarni authored
* cl.array.ravel: take order as an argument * adds test ravel
-
- Jun 13, 2021
-
-
- Jun 02, 2021
-
-
- May 30, 2021
-
-
-
Andreas Klöckner authored
* Enable flake8-bugbear * Remove two more attempts to iterate/cast options
-
- May 28, 2021
-
-
- May 23, 2021
-
- May 22, 2021
-
-
- May 21, 2021
-
-
Andreas Klöckner authored
-
Andreas Klöckner authored
Extend cl.array.(maximum|minimum|if_positive) to take scalars
-
- May 20, 2021
-
-
Kaushik Kulkarni authored
- always return 'out' even when the user provides a buffer for it
-