Skip to content
Snippets Groups Projects

Improve Vectorisation

Merged Markus Holzer requested to merge holzer/pystencils:ImproveVec into master
3 unresolved threads

This MR fixes some bugs caused in the vectorisation

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
13 13
14 14
15 15 @pytest.mark.parametrize('instruction_set', supported_instruction_sets)
16 @pytest.mark.parametrize('dtype', ('float', 'double'))
  • 282 282
    283 283 ast = ps.create_kernel(as6)
    284 284 vectorize(ast, instruction_set=instruction_set)
    285 ps.show_code(ast)
  • 785 788 exp = expr.exp
    786 789
    787 790 if exp.is_integer and exp.is_number and 0 < exp < 8:
    788 return "(" + self._print(sp.Mul(*[expr.base] * exp, evaluate=False)) + ")"
    791 return self._print(sp.Mul(*[expr.base] * exp, evaluate=False))
    789 792 elif exp == -1:
  • Markus Holzer added 1 commit

    added 1 commit

    Compare with previous version

  • Christoph Alt approved this merge request

    approved this merge request

  • Looks good to me:)

  • Christoph Alt enabled an automatic merge when the pipeline for d7ac0ce9 succeeds

    enabled an automatic merge when the pipeline for d7ac0ce9 succeeds

  • merged

  • Christoph Alt mentioned in commit 8bd3cef5

    mentioned in commit 8bd3cef5

  • mentioned in issue #62 (closed)

  • Please register or sign in to reply
    Loading