Skip to content

[C++] Compute functions should fail gracefully when given non-CPU resident Arrays #43541

Description

@felipecrv

Describe the bug, including details regarding any error messages, version, and platform.

Instead of segfaulting, they should return a bad Status.

And ideally: kernels should spec which device allocation types they accept for each parameter. This allows generic checking right before execution. Similar to how types are checked during the dispatching phase.

Related issues:

Related PRs:

Component(s)

C++

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions