Skip to content
Snippets Groups Projects

[Fix] GPU Buffer with iteration slices

Merged Markus Holzer requested to merge holzer/pystencils:FixBufferGPU into master
1 unresolved thread

GPU buffers did not work in combination with iteration slices before. This is resolved here

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
44 44 field_accesses = {e for e in field_accesses if not e.is_absolute_access}
45 45 num_buffer_accesses += sum(1 for access in eq.atoms(Field.Access) if FieldType.is_buffer(access.field))
46 46
47 # common shape and field to from the iteration space
47 48 common_shape = get_common_shape(fields_without_buffers)
49 common_field = list(sorted(fields_without_buffers, key=lambda e: str(e)))[0]
  • Markus Holzer added 1 commit

    added 1 commit

    Compare with previous version

  • merged

  • Christoph Alt mentioned in commit 0274362a

    mentioned in commit 0274362a

  • Please register or sign in to reply
    Loading