Skip to content
Snippets Groups Projects

Add AssignmentCollection.has_exclusive_writes

  1. Aug 06, 2019
    • Stephan Seitz's avatar
      Add AssignmentCollection.has_exclusive_writes · fb7e51ab
      Stephan Seitz authored
      An assumption of pystencils is that output stencils never overlap.
      This allows massive parallelization without race conditions or atomics.
      
      When I use my autodiff transformations I use this condition to check
      whether the assumption still hold for the backward assignments.
      fb7e51ab