arrayfire / arrayfire/arrayfire-python
`dtype` parameter, and `from_ndarray` crash
- Dominant language
- Python
- Stars
- 422
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Description
I have a back end using mesa/rusticl OpenCL on fedora 40 with both an NVIDIA and AMD GPU. There are two opencl backends for the AMD device, ROCm and the aforementioned mesa drivers. The mesa drivers are how I interface to the NVIDIA GPU (trying to avoid using the proprietary driver). Everything works fine with the ROCm driver, however, any time there is a `dtype` parameter arrayfire segfaults, also I noticed it crashes with `from_ndarray`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the `dtype` parameter and `from_ndarray` crashes on Fedora 40 with the Mesa/Rusticl OpenCL backend, then compare behavior with ROCm. Trace the two entry points and narrow down the backend-specific failure; done means both operations work without a segmentation fault on the reported setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100