Jacob Faibussowitsch

Results 12 issues of Jacob Faibussowitsch

Is it possible to make the `thrust::complex` constructors `constexpr`? This would allow them to be used in constant-initialized `__constant__` and/or `__device__` variables. Currently such usage: ```c++ static __constant__ thrust::complex One...

type: enhancement
P2: nice to have

TL;DR: Macros break highlighting. How can I make `tree-sitter-hl` ignore (some of) them? Does not necessarily have to be fancy, can be as simple as a user-set regex or list....

``` KokkosGraph_Distance1Color_impl.hpp:414:15: warning: variable 'total' set but not used [-Wunused-but-set-variable] double t, total = 0.0; ^ 1 warning generated. ```

**Describe the bug** `black` crashes when encountering a `type: ignore` comment on a line-broken `==`, where the `==` is on the _first_ line. **To Reproduce** For example, take this code:...

T: bug
F: comments
C: crash

The problem ------- Setting `CUDA_VISIBLE_DEVICES=` disables devices. `HIP_VISIBLE_DEVICES` should exhibit the same behavior. Repro: ----- ```c // code.c #include #include void show_hip_errors(const char func_name[], hipError_t ret) { printf("%s() -> error:...

Python 3.12 removes `distutils`, and this is causing some grief with the cmake utilities shipped with `scikit-build`, which result in the following cmake errors: ```sh Traceback (most recent call last):...

Problem: -------- ```c include/amgx_config.h:128:42: error: arithmetic between different enumeration types ‘AMGX_MemorySpace’ and ‘AMGX_VecPrecision’ is deprecated [-Werror=deprecated-enum-enum-conversion] 128 | AMGX_modeRange = AMGX_memorySpaceNum * AMGX_vecPrecisionNum * AMGX_matPrecisionNum * AMGX_indPrecisionNum, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ```...

build issues

The error ``` Caught signal 11 (Segmentation fault: address not mapped to object at address 0x170) ==== backtrace (tid:1229674) ==== 0 /home/ac.jfaibussowitsch/petsc/arch-cuda-debug/lib/libucs.so.0(ucs_debug_print_backtrace+0x33) [0x7fea6f92bcad] 1 /home/ac.jfaibussowitsch/petsc/arch-cuda-debug/lib/libucs.so.0(ucs_handle_error+0x77) [0x7fea6f92ce0f] 2 /home/ac.jfaibussowitsch/petsc/arch-cuda-debug/lib/libucs.so.0(+0x37bca) [0x7fea6f92cbca] 3...

Given ```toml [tool.scikit-build] wheel.install-dir = "/data" ``` It is not possible to do editable installs: ```sh $ pip install -e . ``` because `scikit_build.build.wheel.py::_make_editable()` throws. Commenting out this check did...

I am migrating a project over from `scikit-build` (SKB) to `scikit-build-core` (SKBC). Our project is set up into 2 parts: 1. The C++ cmake files and cmakelists. They only concern...