[all-commits] [llvm/llvm-project] bcde1a: [OFFLOAD][L0] Fix PatternSize assert in L0QueueTy:...
Wenju He via All-commits
all-commits at lists.llvm.org
Tue Jul 21 02:20:38 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bcde1af59d0a3c9c6f596c9144b89e61f30ce40f
https://github.com/llvm/llvm-project/commit/bcde1af59d0a3c9c6f596c9144b89e61f30ce40f
Author: Wenju He <wenju.he at intel.com>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
M offload/plugins-nextgen/level_zero/src/L0Queue.cpp
Log Message:
-----------
[OFFLOAD][L0] Fix PatternSize assert in L0QueueTy::memoryFill (#210867)
The message was the opposite of the assert condition.
In addition, when PatternSize == Size the caller wants to fill the
region with exactly one copy of the pattern, which is a valid operation.
The issue was found by AI.
Also check `Size % PatternSize == 0` per L0 spec.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list