Graham Markall

Results 776 comments of Graham Markall

@bdice Many thanks for the suggestion - I think I've implemented it as you suggested (and updated the title / description)

@bdice I think this should be fine as the dependency comes from cudf (and will come from its numba-cuda dependency once https://github.com/rapidsai/cudf/pull/16474 is merged).

It's not a cast - it's a copy. From [the `astype()` docs](https://numpy.org/doc/2.1/reference/generated/numpy.ndarray.astype.html): > By default, astype always returns a newly allocated array. Unfortunately it seems like we haven't implemented the...

I guess this shouldn't be too hard to implement, but because it's written using the low-level API (`@bound_function("array.astype")` in `numba/core/typing/arraydecl.py` and `@lower_builtin("array.astype", types.Array, types.DTypeSpec)` in `numba/np/arrayobj.py`), I'm not sure how...

(Going to mark as a feature request for `copy=False` in `astype()`)

I started trying to implement this in https://github.com/gmarkall/numba/commit/583844fea51c99f6bdbcacf008d6a49f7d3b07da - I'm still a bit fuzzy on the low-to-high-level-api conversion and implementation of keyword arguments so it's not quite doing what I...

It reproduces again. The last couple of llvmlite builds from the buildfarm will reproduce it, e.g.: - [win-64/llvmlite-0.44.0dev0-py312h9a6739d_139.tar.bz2](https://anaconda.org/numba/llvmlite/0.44.0dev0/download/win-64/llvmlite-0.44.0dev0-py312h9a6739d_139.tar.bz2) - [win-64/llvmlite-0.44.0dev0-py311h9a6739d_137.tar.bz2](https://anaconda.org/numba/llvmlite/0.44.0dev0/download/win-64/llvmlite-0.44.0dev0-py311h9a6739d_137.tar.bz2) However, when I added the PDB to it (#1089), builds...

Noting that further to the previous comment, setting the `-print-after-all` option seems to make the crash 100% reliable when running the test suite.

Also - the access violation occurs during the execution of one of the passes when the `ModulePassManager` is running, at https://github.com/llvm/llvm-project/blob/release/15.x/llvm/include/llvm/IR/PassManager.h#L522 (called from `LLVMPY_RunNewModulePassManager()`)