Skip to content
Snippets Groups Projects

Draft: [FIX] Index fields exclusively containing coordinates are dropped by code generator

Closed Frederik Hennig requested to merge da15siwa/pystencils:index_field_fix into master

Index fields that exclusively contain coordinate data (members x, y and z) and that are not explicitly accessed in the kernel assignments are dropped by pystencils.cpu.create_indexed_kernel in cpu/kernelcreation.py, prev. line 119. Then in line 128 the list of index fields is empty, and the code generator finds no field containing the coordinate information. Code generation then aborts.

Is there a reason why index fields are first filtered this way?

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply