Skip to content

Conversation

@umar456
Copy link
Member

@umar456 umar456 commented Mar 19, 2022

Fixes an issue with nested and duplicate moddims JIT nodes with the CPU backend

Description

Fix an issue that caused errors with nested moddims caused errors with the CPU
backend. this was caused when the moddims function was called back to back on
the same array.

Another issue that this fixes is when you have the same node which are composed
of moddims arrays in the same jit tree

Changes to Users

N/A

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass
  • [ ] Functions added to unified API
  • [ ] Functions documented

@umar456 umar456 force-pushed the moddim_jit_fix branch 2 times, most recently from 3b102c6 to 1068fee Compare March 21, 2022 18:44
syurkevi
syurkevi previously approved these changes Mar 21, 2022
Fix an issue that caused errors with nested moddims caused errors with the CPU
backend. this was caused when the moddims function was called back to back on
the same array.

Another issue that this fixes is when you have the same node which are composed
of moddims arrays in the same jit tree
@umar456 umar456 merged commit 86cdffd into arrayfire:master Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants