Skip to content

Commit

Permalink
Add an intrinsic for named barrier arrive/signal operation
Browse files Browse the repository at this point in the history
.
  • Loading branch information
vmustya authored and sys-cmllvm committed Feb 14, 2024
1 parent 1ba2c43 commit f9c3440
Showing 1 changed file with 22 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ========================== begin_copyright_notice ============================
#
# Copyright (C) 2019-2023 Intel Corporation
# Copyright (C) 2019-2024 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
Expand Down Expand Up @@ -4281,8 +4281,27 @@
###
"nbarrier" : { "result" : "void",
"arguments" : ["char","char","char"],
"attributes" : "Convergent"
},
"attributes" : "SideEffects",
"platforms" : "XeHPC+", },

### ``llvm.genx.nbarrier.arrive`` : Named barrier arrive operation
### ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
###
### * arg0: i8 barrier id
### * arg1: i8 thread role
### * arg2: i8 number of producers
### * arg3: i8 number of consumers
###
### Thread roles are the following:
### - 0: the thread is a barrier producer and consumer
### - 1: the thread is only a barrier producer
### - 2: the thread is only a barrier consumer
### - other values are invalid
###
"nbarrier_arrive" : { "result" : "void",
"arguments" : ["char", "char", "char", "char"],
"attributes" : "SideEffects",
"platforms" : "XeHPC+", },

### ``llvm.genx.cache.flush`` : vISA CACHE_FLUSH instruction
### ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit f9c3440

Please sign in to comment.