Skip to content

Commit 685602a

Browse files
authored
[SYCLomatic][NFC] Fix incorrect migration status info for ASM fence (#2620)
Signed-off-by: chenwei.sun <chenwei.sun@intel.com>
1 parent 2d33dba commit 685602a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clang/lib/DPCT/SrcAPI/APINames_ASM.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ ENTRY("dp4a", "dp4a", true, NO_FLAG, P1, "Successful")
6767
ENTRY("elect", "elect", false, NO_FLAG, P1, "Comment")
6868
ENTRY("ex2", "ex2", true, NO_FLAG, P1, "Successful")
6969
ENTRY("exit", "exit", false, NO_FLAG, P1, "Comment")
70-
ENTRY("fence", "true", false, NO_FLAG, P1, "Only support thread fence on scope '.cta', '.gpu' and '.sys'")
70+
ENTRY("fence", "fence", true, NO_FLAG, P1, "Partial")
7171
ENTRY("fma", "fma", true, NO_FLAG, P1, "Partial")
7272
ENTRY("fns", "fns", false, NO_FLAG, P1, "Comment")
7373
ENTRY("getctarank", "getctarank", false, NO_FLAG, P1, "Comment")
@@ -86,7 +86,7 @@ ENTRY("mapa", "mapa", false, NO_FLAG, P1, "Comment")
8686
ENTRY("match", "match", false, NO_FLAG, P1, "Comment")
8787
ENTRY("max", "max", true, NO_FLAG, P1, "Successful")
8888
ENTRY("mbarrier", "mbarrier", false, NO_FLAG, P1, "Comment")
89-
ENTRY("membar", "membar", true, NO_FLAG, P1, "only support level on .cta .gl and sys)
89+
ENTRY("membar", "membar", true, NO_FLAG, P1, "Partial")
9090
ENTRY("min", "min", true, NO_FLAG, P1, "Successful")
9191
ENTRY("mma", "mma", false, NO_FLAG, P1, "Comment")
9292
ENTRY("mov", "mov", true, NO_FLAG, P1, "Successful")

docs/dev_guide/api-mapping-status/ASM_API_migration_status.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dp4a,YES,
3333
elect,NO,
3434
ex2,YES,
3535
exit,NO,
36-
fence,NO,
36+
fence,YES,
3737
fma,YES, Partial
3838
fns,NO,
3939
getctarank,NO,

0 commit comments

Comments
 (0)