From 3d396ccc5c9fb0b00a0362a4edf41fe0af04d7a0 Mon Sep 17 00:00:00 2001 From: "enzyme-ci-bot[bot]" <78882869+enzyme-ci-bot[bot]@users.noreply.github.com> Date: Thu, 6 Nov 2025 00:44:40 +0000 Subject: [PATCH] Regenerate MLIR Bindings --- src/mlir/Dialects/MosaicGPU.jl | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/mlir/Dialects/MosaicGPU.jl b/src/mlir/Dialects/MosaicGPU.jl index d8b466bce5..e54bd80e01 100644 --- a/src/mlir/Dialects/MosaicGPU.jl +++ b/src/mlir/Dialects/MosaicGPU.jl @@ -325,20 +325,22 @@ end """ `initialize_barrier` -Initializes a memref of barriers each meant to synchronize exactly +Initializes `num_barriers` barriers each meant to synchronize exactly `arrival_count` threads. -The base pointer of the result memref corresponds to `base_pointer`, which -must be a pointer to a shared memory location. +`base_pointer` must be a pointer to a shared memory location. """ function initialize_barrier( - base_pointer::Value; barriers_ref::IR.Type, arrival_count, location=Location() + base_pointer::Value; arrival_count, num_barriers, location=Location() ) - op_ty_results = IR.Type[barriers_ref,] + op_ty_results = IR.Type[] operands = Value[base_pointer,] owned_regions = Region[] successors = Block[] - attributes = NamedAttribute[namedattribute("arrival_count", arrival_count),] + attributes = NamedAttribute[ + namedattribute("arrival_count", arrival_count), + namedattribute("num_barriers", num_barriers), + ] return create_operation( "mosaic_gpu.initialize_barrier",