arrayfire / arrayfire/arrayfire-python

Add support for C contiguous arrays

Open
#56 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
422
Forks
63
PR merge metrics
No merged PRs in 30d

Description

Many python modules default to C contiguous layouts. Adding support for this would be nice.

This can be solved independently of upstream. Most functions are independent of the layout. The few that are dependent include the following.
- Functions that depend on the dimension number: reductions / sort / scan / ffts.
- Linear algebra functions that assume column major layout: matmul, lu, qr, cholesky, solve.
- Perhaps some others I am missing.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by locating how array layouts are represented in the Python bindings, then inspect reductions, sort, scan, FFTs, matmul, LU, QR, Cholesky, and solve. Done should include defined C-contiguous behavior for the affected functions and tests covering it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.