Skip to content

Commit 14e4075

Browse files
authored
Remove duplicate check for maximum workgroup size (#4124)
Source: #4110 (comment) Signed-off-by: Anatoly Myachev <[email protected]>
1 parent be20c92 commit 14e4075

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

third_party/intel/backend/compiler.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,6 @@ def validate_options(opt, properties):
212212
raise ValueError(
213213
f"num_warps={opt.num_warps} is unsupported for the target (limit is {properties['max_num_sub_groups']})"
214214
)
215-
if opt.threads_per_warp * opt.num_warps > properties['max_work_group_size']:
216-
raise ValueError(f"Kernel threads number exceeds the limit ({properties['max_work_group_size']})")
217215

218216
@staticmethod
219217
def annotate_module(mod, properties, opt, target_arch):

0 commit comments

Comments
 (0)