Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[llvm-to-amdgpu][libkernel] assert: Use __builtin_trap() #1808

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

Merged
merged 1 commit into from
May 7, 2025

Conversation

illuhad
Copy link
Collaborator

@illuhad illuhad commented May 7, 2025

Abort kernels using __builtin_trap in case of assertion failure on AMD. Thanks @Stastez for pointing this out to me! I tested it and it seems to work as intended.

@illuhad illuhad merged commit 738a961 into develop May 7, 2025
125 checks passed
@illuhad illuhad deleted the hotfix/amdgcn-assert-use-trap-instead-of-ub branch May 7, 2025 14:43
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