Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set PtrState scalar to 0 for pointers from kernel arguments (#189)
When rewriting `tts.get_structured_state` operating on scalar pointers, we need to use the offset from `state.scalar`. Pointers directly from the kernel arguments unfortunately is missing the `scalar` field, causing a crash when creating offset from this `scalar` field.
- Loading branch information