Skip to content

Conversation

@pjaaskel
Copy link
Contributor

With the device side abort extension, a work-item (WI) can return from the kernel execution at any point and cause abnormal unrecoverable termination of the host process.

This extension differs from the cl_arm_controlled_kernel_termination extension in that the abort in the device side is expected to behave like a call to the POSIX abort() in the host side, terminating also the host process immediately.

The extension is meant to easily support POSIX abort()-like functionality on the device side, as well as serve as a basis for CUDA/HIP-style assertions.

The OpenCL C counterpart: KhronosGroup/OpenCL-Docs#808

@pjaaskel
Copy link
Contributor Author

Let's test this through SPIR-V first. I've only tested direct OpenCL C calls.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant