Gpu
gpu
GPU = Dialect('gpu', [AllocOp, AllReduceOp, BarrierOp, BlockDimOp, BlockIdOp, DeallocOp, FuncOp, GlobalIdOp, GridDimOp, HostRegisterOp, HostUnregisterOp, LaneIdOp, LaunchOp, LaunchFuncOp, MemcpyOp, ModuleOp, NumSubgroupsOp, ReturnOp, SetDefaultDeviceOp, SubgroupIdOp, SubgroupSizeOp, TerminatorOp, ThreadIdOp, WaitOp, YieldOp], [AsyncTokenType, AllReduceOpAttr, DimensionAttr, ProcessorAttr, LoopDimMapAttr])
module-attribute
AsyncTokenType
dataclass
Bases: ParametrizedAttribute, TypeAttribute
Source code in xdsl/dialects/gpu.py
64 65 66 | |
name = 'gpu.async.token'
class-attribute
instance-attribute
AllReduceOpEnum
Bases: StrEnum
Source code in xdsl/dialects/gpu.py
69 70 71 72 73 74 75 76 | |
Add = auto()
class-attribute
instance-attribute
And = auto()
class-attribute
instance-attribute
Max = auto()
class-attribute
instance-attribute
Min = auto()
class-attribute
instance-attribute
Mul = auto()
class-attribute
instance-attribute
Or = auto()
class-attribute
instance-attribute
Xor = auto()
class-attribute
instance-attribute
DimensionEnum
Bases: StrEnum
Source code in xdsl/dialects/gpu.py
79 80 81 82 | |
X = auto()
class-attribute
instance-attribute
Y = auto()
class-attribute
instance-attribute
Z = auto()
class-attribute
instance-attribute
ProcessorEnum
Bases: StrEnum
Source code in xdsl/dialects/gpu.py
85 86 87 88 89 90 91 92 | |
Sequential = auto()
class-attribute
instance-attribute
Block_X = auto()
class-attribute
instance-attribute
Block_Y = auto()
class-attribute
instance-attribute
Block_Z = auto()
class-attribute
instance-attribute
Thread_X = auto()
class-attribute
instance-attribute
Thread_Y = auto()
class-attribute
instance-attribute
Thread_Z = auto()
class-attribute
instance-attribute
AllReduceOpAttr
dataclass
Bases: EnumAttribute[AllReduceOpEnum], SpacedOpaqueSyntaxAttribute
Source code in xdsl/dialects/gpu.py
95 96 97 | |
name = 'gpu.all_reduce_op'
class-attribute
instance-attribute
DimensionAttr
dataclass
Bases: EnumAttribute[DimensionEnum], SpacedOpaqueSyntaxAttribute
Source code in xdsl/dialects/gpu.py
100 101 102 | |
name = 'gpu.dim'
class-attribute
instance-attribute
ProcessorAttr
dataclass
Bases: EnumAttribute[ProcessorEnum], SpacedOpaqueSyntaxAttribute
Source code in xdsl/dialects/gpu.py
105 106 107 | |
name = 'gpu.processor'
class-attribute
instance-attribute
LoopDimMapAttr
dataclass
Bases: ParametrizedAttribute
Source code in xdsl/dialects/gpu.py
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | |
name = 'gpu.loop_dim_map'
class-attribute
instance-attribute
processor: ProcessorAttr
instance-attribute
map: AffineMapAttr
instance-attribute
bound: AffineMapAttr
instance-attribute
print_parameters(printer: Printer) -> None
Source code in xdsl/dialects/gpu.py
118 119 120 121 122 123 124 125 | |
parse_parameters(parser: AttrParser)
classmethod
Source code in xdsl/dialects/gpu.py
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | |
AllocOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | |
name = 'gpu.alloc'
class-attribute
instance-attribute
hostShared = opt_attr_def(UnitAttr)
class-attribute
instance-attribute
asyncDependencies = var_operand_def(AsyncTokenType)
class-attribute
instance-attribute
dynamicSizes = var_operand_def(IndexType)
class-attribute
instance-attribute
symbolOperands = var_operand_def(IndexType)
class-attribute
instance-attribute
irdl_options = (AttrSizedOperandSegments(as_property=True),)
class-attribute
instance-attribute
result = result_def(memref.MemRefType)
class-attribute
instance-attribute
asyncToken = opt_result_def(AsyncTokenType)
class-attribute
instance-attribute
verify_() -> None
Source code in xdsl/dialects/gpu.py
158 159 160 161 162 163 164 165 166 | |
__init__(return_type: memref.MemRefType, dynamic_sizes: Sequence[SSAValue | Operation] | None = None, host_shared: bool = False, async_dependencies: Sequence[SSAValue | Operation] | None = None, is_async: bool = False)
Source code in xdsl/dialects/gpu.py
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | |
AllReduceOp
dataclass
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 | |
name = 'gpu.all_reduce'
class-attribute
instance-attribute
op = opt_prop_def(AllReduceOpAttr)
class-attribute
instance-attribute
uniform = opt_prop_def(UnitAttr)
class-attribute
instance-attribute
operand = operand_def(Attribute)
class-attribute
instance-attribute
result = result_def(Attribute)
class-attribute
instance-attribute
body = region_def()
class-attribute
instance-attribute
traits = traits_def(IsolatedFromAbove())
class-attribute
instance-attribute
from_op(op: AllReduceOpAttr, operand: SSAValue | Operation, uniform: UnitAttr | None = None)
staticmethod
Source code in xdsl/dialects/gpu.py
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 | |
from_body(body: Region, operand: SSAValue | Operation, uniform: UnitAttr | None = None)
staticmethod
Source code in xdsl/dialects/gpu.py
220 221 222 223 224 225 226 227 228 229 | |
verify_() -> None
Source code in xdsl/dialects/gpu.py
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 | |
BarrierOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
260 261 262 263 264 265 | |
name = 'gpu.barrier'
class-attribute
instance-attribute
__init__()
Source code in xdsl/dialects/gpu.py
264 265 | |
BlockDimOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
268 269 270 271 272 273 274 275 | |
name = 'gpu.block_dim'
class-attribute
instance-attribute
dimension = prop_def(DimensionAttr)
class-attribute
instance-attribute
result = result_def(IndexType)
class-attribute
instance-attribute
__init__(dim: DimensionAttr)
Source code in xdsl/dialects/gpu.py
274 275 | |
BlockIdOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
278 279 280 281 282 283 284 285 | |
name = 'gpu.block_id'
class-attribute
instance-attribute
dimension = prop_def(DimensionAttr)
class-attribute
instance-attribute
result = result_def(IndexType)
class-attribute
instance-attribute
__init__(dim: DimensionAttr)
Source code in xdsl/dialects/gpu.py
284 285 | |
DeallocOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 | |
name = 'gpu.dealloc'
class-attribute
instance-attribute
asyncDependencies = var_operand_def(AsyncTokenType)
class-attribute
instance-attribute
buffer = operand_def(memref.MemRefType)
class-attribute
instance-attribute
irdl_options = (AttrSizedOperandSegments(),)
class-attribute
instance-attribute
asyncToken = opt_result_def(AsyncTokenType)
class-attribute
instance-attribute
__init__(buffer: SSAValue | Operation, async_dependencies: Sequence[SSAValue | Operation] | None = None, is_async: bool = False)
Source code in xdsl/dialects/gpu.py
299 300 301 302 303 304 305 306 307 308 | |
MemcpyOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 | |
name = 'gpu.memcpy'
class-attribute
instance-attribute
asyncDependencies = var_operand_def(AsyncTokenType)
class-attribute
instance-attribute
dst = operand_def(memref.MemRefType)
class-attribute
instance-attribute
src = operand_def(memref.MemRefType)
class-attribute
instance-attribute
irdl_options = (AttrSizedOperandSegments(),)
class-attribute
instance-attribute
asyncToken = opt_result_def(AsyncTokenType)
class-attribute
instance-attribute
__init__(source: SSAValue | Operation, destination: SSAValue | Operation, async_dependencies: Sequence[SSAValue | Operation] | None = None, is_async: bool = False)
Source code in xdsl/dialects/gpu.py
323 324 325 326 327 328 329 330 331 332 333 | |
verify_() -> None
Source code in xdsl/dialects/gpu.py
335 336 337 338 339 340 | |
ModuleOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 | |
name = 'gpu.module'
class-attribute
instance-attribute
body = region_def('single_block')
class-attribute
instance-attribute
sym_name = prop_def(SymbolNameConstraint())
class-attribute
instance-attribute
traits = traits_def(IsolatedFromAbove(), NoTerminator(), SymbolOpInterface(), SymbolTable())
class-attribute
instance-attribute
__init__(name: SymbolRefAttr, body: Region)
Source code in xdsl/dialects/gpu.py
357 358 | |
FuncOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 | |
name = 'gpu.func'
class-attribute
instance-attribute
body = region_def()
class-attribute
instance-attribute
sym_name = attr_def(SymbolNameConstraint())
class-attribute
instance-attribute
function_type = prop_def(FunctionType)
class-attribute
instance-attribute
kernel = opt_prop_def(UnitAttr)
class-attribute
instance-attribute
known_block_size = opt_attr_def(DenseArrayBase.constr(i32), attr_name='gpu.known_block_size')
class-attribute
instance-attribute
known_grid_size = opt_attr_def(DenseArrayBase.constr(i32), attr_name='gpu.known_grid_size')
class-attribute
instance-attribute
traits = traits_def(IsolatedFromAbove(), HasParent(ModuleOp), SymbolOpInterface())
class-attribute
instance-attribute
__init__(name: str, function_type: FunctionType | tuple[Sequence[Attribute], Sequence[Attribute]], region: Region | type[Region.DEFAULT] = Region.DEFAULT, kernel: bool | None = None, known_block_size: Sequence[int] | None = None, known_grid_size: Sequence[int] | None = None)
Source code in xdsl/dialects/gpu.py
378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 | |
verify_()
Source code in xdsl/dialects/gpu.py
408 409 410 411 412 413 414 415 416 417 418 | |
GlobalIdOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
421 422 423 424 425 426 427 428 | |
name = 'gpu.global_id'
class-attribute
instance-attribute
dimension = prop_def(DimensionAttr)
class-attribute
instance-attribute
result = result_def(IndexType)
class-attribute
instance-attribute
__init__(dim: DimensionAttr)
Source code in xdsl/dialects/gpu.py
427 428 | |
GridDimOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
431 432 433 434 435 436 437 438 | |
name = 'gpu.grid_dim'
class-attribute
instance-attribute
dimension = prop_def(DimensionAttr)
class-attribute
instance-attribute
result = result_def(IndexType)
class-attribute
instance-attribute
__init__(dim: DimensionAttr)
Source code in xdsl/dialects/gpu.py
437 438 | |
HostRegisterOp
Bases: IRDLOperation
This op maps the provided host buffer into the device address space.
This operation may not be supported in every environment, there is not yet a way to check at runtime whether this feature is supported. Writes from the host are guaranteed to be visible to device kernels that are launched afterwards. Writes from the device are guaranteed to be visible on the host after synchronizing with the device kernel completion.
Source code in xdsl/dialects/gpu.py
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 | |
name = 'gpu.host_register'
class-attribute
instance-attribute
value = operand_def(memref.UnrankedMemRefType)
class-attribute
instance-attribute
__init__(memref: SSAValue | Operation)
Source code in xdsl/dialects/gpu.py
457 458 | |
HostUnregisterOp
Bases: IRDLOperation
Unregisters a memref for access from device.
Source code in xdsl/dialects/gpu.py
461 462 463 464 465 466 467 468 469 470 471 472 | |
name = 'gpu.host_unregister'
class-attribute
instance-attribute
value = operand_def(memref.UnrankedMemRefType)
class-attribute
instance-attribute
__init__(memref: SSAValue | Operation)
Source code in xdsl/dialects/gpu.py
471 472 | |
LaneIdOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
475 476 477 478 479 480 481 | |
name = 'gpu.lane_id'
class-attribute
instance-attribute
result = result_def(IndexType)
class-attribute
instance-attribute
__init__()
Source code in xdsl/dialects/gpu.py
480 481 | |
LaunchOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 | |
name = 'gpu.launch'
class-attribute
instance-attribute
asyncDependencies = var_operand_def(AsyncTokenType)
class-attribute
instance-attribute
gridSizeX = operand_def(IndexType)
class-attribute
instance-attribute
gridSizeY = operand_def(IndexType)
class-attribute
instance-attribute
gridSizeZ = operand_def(IndexType)
class-attribute
instance-attribute
blockSizeX = operand_def(IndexType)
class-attribute
instance-attribute
blockSizeY = operand_def(IndexType)
class-attribute
instance-attribute
blockSizeZ = operand_def(IndexType)
class-attribute
instance-attribute
clusterSizeX = opt_operand_def(IndexType)
class-attribute
instance-attribute
clusterSizeY = opt_operand_def(IndexType)
class-attribute
instance-attribute
clusterSizeZ = opt_operand_def(IndexType)
class-attribute
instance-attribute
dynamicSharedMemorySize = opt_operand_def(i32)
class-attribute
instance-attribute
asyncToken = opt_result_def(AsyncTokenType)
class-attribute
instance-attribute
body = region_def()
class-attribute
instance-attribute
irdl_options = (AttrSizedOperandSegments(as_property=True),)
class-attribute
instance-attribute
__init__(body: Region, gridSize: Sequence[SSAValue | Operation], blockSize: Sequence[SSAValue | Operation], clusterSize: Sequence[SSAValue | Operation] = [], async_launch: bool = False, asyncDependencies: Sequence[SSAValue | Operation] | None = None, dynamicSharedMemorySize: SSAValue | Operation | None = None)
Source code in xdsl/dialects/gpu.py
502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 | |
verify_() -> None
Source code in xdsl/dialects/gpu.py
547 548 549 550 551 552 553 554 555 556 | |
LaunchFuncOp
Bases: IRDLOperation
Launch a kernel function on the specified grid of thread blocks. gpu.launch operations are lowered to gpu.launch_func operations by outlining the kernel body into a function in a dedicated module, which reflects the separate compilation process. The kernel function is required to have the gpu.kernel attribute. The module containing the kernel function is required to be a gpu.module. And finally, the module containing the kernel module (which thus cannot be the top-level module) is required to have the gpu.container_module attribute. The gpu.launch_func operation has a symbol attribute named kernel to identify the fully specified kernel function to launch (both the gpu.module and func).
The gpu.launch_func supports async dependencies: the kernel does not start executing until the ops producing those async dependencies have completed.
By default, the host implicitly blocks until kernel execution has completed. If the async keyword is present, the host does not block but instead a !gpu.async.token is returned. Other async GPU ops can take this token as dependency.
The operation requires at least the grid and block sizes along the x,y,z dimensions as arguments. When a lower-dimensional kernel is required, unused sizes must be explicitly set to 1.
The remaining operands are optional. The first optional operand corresponds to the amount of dynamic shared memory a kernel's workgroup should be allocated; when this operand is not present, a zero size is assumed.
The remaining operands if present are passed as arguments to the kernel function.
Source code in xdsl/dialects/gpu.py
559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 | |
name = 'gpu.launch_func'
class-attribute
instance-attribute
asyncDependencies = var_operand_def(AsyncTokenType)
class-attribute
instance-attribute
gridSizeX = operand_def(AnyOf((IndexType, i32, i64)))
class-attribute
instance-attribute
gridSizeY = operand_def(AnyOf((IndexType, i32, i64)))
class-attribute
instance-attribute
gridSizeZ = operand_def(AnyOf((IndexType, i32, i64)))
class-attribute
instance-attribute
blockSizeX = operand_def(AnyOf((IndexType, i32, i64)))
class-attribute
instance-attribute
blockSizeY = operand_def(AnyOf((IndexType, i32, i64)))
class-attribute
instance-attribute
blockSizeZ = operand_def(AnyOf((IndexType, i32, i64)))
class-attribute
instance-attribute
clusterSizeX = opt_operand_def(AnyOf((IndexType, i32, i64)))
class-attribute
instance-attribute
clusterSizeY = opt_operand_def(AnyOf((IndexType, i32, i64)))
class-attribute
instance-attribute
clusterSizeZ = opt_operand_def(AnyOf((IndexType, i32, i64)))
class-attribute
instance-attribute
dynamicSharedMemorySize = opt_operand_def(i32)
class-attribute
instance-attribute
kernelOperands = var_operand_def()
class-attribute
instance-attribute
asyncObject = opt_operand_def()
class-attribute
instance-attribute
asyncToken = opt_result_def(AsyncTokenType)
class-attribute
instance-attribute
kernel = prop_def(SymbolRefAttr)
class-attribute
instance-attribute
irdl_options = (AttrSizedOperandSegments(as_property=True),)
class-attribute
instance-attribute
__init__(func: SymbolRefAttr, gridSize: Sequence[SSAValue | Operation], blockSize: Sequence[SSAValue | Operation], clusterSize: Sequence[SSAValue | Operation] | None = None, kernelOperands: Sequence[SSAValue | Operation] | None = None, async_launch: bool = False, asyncDependencies: Sequence[SSAValue | Operation] | None = None, dynamicSharedMemorySize: SSAValue | Operation | None = None)
Source code in xdsl/dialects/gpu.py
611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 | |
NumSubgroupsOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
653 654 655 656 657 658 659 | |
name = 'gpu.num_subgroups'
class-attribute
instance-attribute
result = result_def(IndexType)
class-attribute
instance-attribute
__init__()
Source code in xdsl/dialects/gpu.py
658 659 | |
ReturnOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
662 663 664 665 666 667 668 669 670 671 | |
name = 'gpu.return'
class-attribute
instance-attribute
args = var_operand_def()
class-attribute
instance-attribute
traits = traits_def(IsTerminator(), HasParent(FuncOp))
class-attribute
instance-attribute
__init__(operands: Sequence[SSAValue | Operation])
Source code in xdsl/dialects/gpu.py
670 671 | |
SetDefaultDeviceOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
674 675 676 677 678 679 680 | |
name = 'gpu.set_default_device'
class-attribute
instance-attribute
devIndex = operand_def(i32)
class-attribute
instance-attribute
__init__(devIndex: SSAValue | Operation)
Source code in xdsl/dialects/gpu.py
679 680 | |
SubgroupIdOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
683 684 685 686 687 688 689 | |
name = 'gpu.subgroup_id'
class-attribute
instance-attribute
result = result_def(IndexType)
class-attribute
instance-attribute
__init__()
Source code in xdsl/dialects/gpu.py
688 689 | |
SubgroupSizeOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
692 693 694 695 696 697 698 | |
name = 'gpu.subgroup_size'
class-attribute
instance-attribute
result = result_def(IndexType)
class-attribute
instance-attribute
__init__()
Source code in xdsl/dialects/gpu.py
697 698 | |
TerminatorOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
701 702 703 704 705 706 707 708 | |
name = 'gpu.terminator'
class-attribute
instance-attribute
traits = traits_def(HasParent(LaunchOp), IsTerminator())
class-attribute
instance-attribute
__init__()
Source code in xdsl/dialects/gpu.py
707 708 | |
ThreadIdOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
711 712 713 714 715 716 717 718 | |
name = 'gpu.thread_id'
class-attribute
instance-attribute
dimension = prop_def(DimensionAttr)
class-attribute
instance-attribute
result = result_def(IndexType)
class-attribute
instance-attribute
__init__(dim: DimensionAttr)
Source code in xdsl/dialects/gpu.py
717 718 | |
WaitOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
721 722 723 724 725 726 727 728 729 730 731 732 733 734 | |
name = 'gpu.wait'
class-attribute
instance-attribute
asyncDependencies = var_operand_def(AsyncTokenType)
class-attribute
instance-attribute
asyncToken = opt_result_def(AsyncTokenType)
class-attribute
instance-attribute
__init__(async_dependencies: Sequence[SSAValue | Operation] | None = None)
Source code in xdsl/dialects/gpu.py
727 728 729 730 731 732 733 734 | |
YieldOp
Bases: IRDLOperation
Source code in xdsl/dialects/gpu.py
737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 | |
name = 'gpu.yield'
class-attribute
instance-attribute
values = var_operand_def(Attribute)
class-attribute
instance-attribute
traits = traits_def(IsTerminator())
class-attribute
instance-attribute
__init__(operands: Sequence[SSAValue | Operation])
Source code in xdsl/dialects/gpu.py
742 743 | |
verify_() -> None
Source code in xdsl/dialects/gpu.py
747 748 749 750 751 752 753 754 755 756 | |