Skip to content

Commit a762215

Browse files
authored
[FRONTEND] Fix PDL issue (#7379)
1 parent 742d71b commit a762215

File tree

1 file changed

+4
-4
lines changed
  • third_party/nvidia/language/cuda

1 file changed

+4
-4
lines changed

third_party/nvidia/language/cuda/gdc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
@core.extern
13-
def gdc_wait(_builder=None):
13+
def gdc_wait(_semantic=None):
1414
"""
1515
GDC wait is a blocking instruction that waits for all instructions in a prior kernel to complete before continuing.
1616
This ensures all memory operations happening before the wait is visible to instructions after it,
@@ -21,11 +21,11 @@ def gdc_wait(_builder=None):
2121
See https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-griddepcontrol for more details.
2222
"""
2323
core.inline_asm_elementwise("griddepcontrol.wait; // dummy $0", "=r", [], dtype=core.int32, is_pure=False, pack=1,
24-
_builder=_builder)
24+
_semantic=_semantic)
2525

2626

2727
@core.extern
28-
def gdc_launch_dependents(_builder=None):
28+
def gdc_launch_dependents(_semantic=None):
2929
"""
3030
This operation when launched with programmatic dependent launch signals that
3131
the next program may launch once all programs in the current kernel
@@ -39,4 +39,4 @@ def gdc_launch_dependents(_builder=None):
3939
See https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-griddepcontrol for more details.
4040
"""
4141
core.inline_asm_elementwise("griddepcontrol.launch_dependents; // dummy $0", "=r", [], dtype=core.int32,
42-
is_pure=False, pack=1, _builder=_builder)
42+
is_pure=False, pack=1, _semantic=_semantic)

0 commit comments

Comments
 (0)