Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 393
    • Issues 393
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Merge requests
  • !356

pushed the hard-coded functions set and zero for struct types out of HS/DSS

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Sven-Bodo Scholz requested to merge sbs/sac2c:fixing-structs into develop Feb 22, 2025
  • Overview 0
  • Commits 4
  • Changes 4

I mainly overhauled HS (hide_structs). The main idea is to make all structural prfs applicable to all types, including all struct-induced ones. This includes not only _shape_VxA_, _dim_A_, and co but I also made _zero_A_ directly available for all types. That way, we no longer obtain "unexpected" definitions for sel and zero when defining a struct.

The "downside" of this approach is that all new struct-definitions now require explicit definitions of these in the same way as user-defined types do.

This further strengthens the desire to support element-type polymorphism!

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fixing-structs