Skip to content
This repository was archived by the owner on May 17, 2020. It is now read-only.

CPU exceptions/assertions? #103

Open
simonbyrne opened this issue Jan 17, 2020 · 0 comments
Open

CPU exceptions/assertions? #103

simonbyrne opened this issue Jan 17, 2020 · 0 comments

Comments

@simonbyrne
Copy link

Can we have a way to get informative error messages on the CPU (they could just throw a generic error on the GPU). e.g.

@cpuerror "complicated error message: $x"

which on a CPU would expand to

error("complicated error message: $x")

and on the GPU would throw a generic error without worrying about string allocation.

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

No branches or pull requests

1 participant