Skip to content

Fix tileiras SIGSEGV with occupancy=2 by retrying without occupancy hint - #99

Open
yanght27 wants to merge 1 commit into
NVIDIA:mainfrom
yanght27:yanght27/bug-fix-occupancy-sigsegv
Open

Fix tileiras SIGSEGV with occupancy=2 by retrying without occupancy hint#99
yanght27 wants to merge 1 commit into
NVIDIA:mainfrom
yanght27:yanght27/bug-fix-occupancy-sigsegv

Conversation

@yanght27

@yanght27 yanght27 commented Aug 21, 2026

Copy link
Copy Markdown

Description

Fix #96. tileiras can terminate with SIGSEGV (return code -11) when compiling certain kernels with an explicit occupancy hint (e.g. occupancy=2 on a 32-wide fused tile targeted at sm_120). Since occupancy is a scheduling hint, retry the compilation once with occupancy=None if the compiler crashes with SIGSEGV, and emit a UserWarning to tell the user that the hint was dropped.

Verification

  • Real reproducer.
  • pytest test/test_compiler_sigsegv_fallback.py: 1 passed.
  • flake8: PASS.
  • scripts/check_license.py: PASS.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

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.

[BUG]: tileiras SIGSEGV when occupancy=2 is requested for a 32-wide fused tile kernel

1 participant