Skip to content

[REQUEST] Allow raising errors from kernels #336

@nvlukasz

Description

@nvlukasz

Description

Currently, there is no way to raise an error from a Warp kernel. Adding a wp.assert() builtin would work. To reduce perf overhead, consider enabling it only in debug mode.

Context

Request from @mehdiataei

Metadata

Metadata

Assignees

Labels

feature requestRequest for something to be added

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions