Skip to content

Explicitly define overflow behavior for primitive arithmetic kernels #2641

@viirya

Description

@viirya

Describe the bug

The primitive arithmetic kernels like add kernel don't define its behavior for overflow. We recently hit by this issue as overflow behavior is different between dev (panic on overflow) and release (overflow ignored). We should have explicit definition of overflow behavior for the kernels.

To Reproduce

Expected behavior

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow cratebug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions