Skip to content

Support "struct of arrays" based complex numbers #60

Open

Description

@leofang

Follow-up of #50.

In #58, kDLComplex was added to support "array of structs" based complex numbers, which is the compact memory layout used in C/C++/Python/etc. However, as pointed out in #50 there is a need to support the "struct of arrays" layout as well (a struct containing two pointers for real and imag). This issue is to track such a need.

Activity

  1. leofang commented on Jan 5, 2023

    @leofang
    CollaboratorAuthor

    Hi @tqchen, I may have missed something -- is there any PR that addressed the SoA need?

  2. tqchen commented on Jan 5, 2023

    @tqchen
    Member

    Sorry, I thought it was refering to the AoS approach when skiming through, feel free to reopen

  3. reopened this on Jan 5, 2023
  4. jakirkham commented on Mar 11, 2025

    @jakirkham

    Maybe I'm missing it, but it looks like SoA is still not implemented

    Can we please reopen?

  5. reopened this on Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions