Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix input tiling in arithmetic ops #1426

Merged
merged 1 commit into from
Oct 29, 2019
Merged

Fix input tiling in arithmetic ops #1426

merged 1 commit into from
Oct 29, 2019

Conversation

klecki
Copy link
Contributor

@klecki klecki commented Oct 28, 2019

The offset for input pointer in tile was calculated
using the sizeof of output type instead of input type.

Signed-off-by: Krzysztof Lecki klecki@nvidia.com

Why we need this PR?

Fix the above mentioned bug

What happened in this PR?

  • Explain solution of the problem, new feature added.
    Now tile offsets are calculated based on sizeof of the input type
  • What was changed, added, removed?
    The bug was fixed.
    Test was adjusted to force calculation of at least 2 tiles (assuming current tiling sizes).
  • What is most important part that reviewers should focus on?
  • Was this PR tested? How?
    CI.
  • Were docs and examples updated, if necessary?
    No.

JIRA TASK: [DALI-XXXX]

@klecki
Copy link
Contributor Author

klecki commented Oct 28, 2019

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [964626]: BUILD STARTED

The offset for input pointer in tile was calculated
using the sizeof of output type instead of input type.

Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
@klecki
Copy link
Contributor Author

klecki commented Oct 28, 2019

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [964769]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [964769]: BUILD PASSED

@klecki klecki merged commit 49e6dfb into NVIDIA:master Oct 29, 2019
@klecki klecki deleted the arithm-fix branch October 29, 2019 09:36
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.

5 participants