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

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

Open
felipecrv opened this issue Aug 2, 2024 · 0 comments

Comments

@felipecrv
Copy link
Contributor

felipecrv commented Aug 2, 2024

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++

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

No branches or pull requests

1 participant