You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEF_COMMENT(JOINT_MATRIX_SHAPE, 1135, HIGH_LEVEL, "Please check if joint_matrix implementations support the combination of data type and matrix shape type in the target hardware.")
299
299
DEF_WARNING(UNSUPPORTED_EXTMEM_WIN_HANDLE, 1136, HIGH_LEVEL, "SYCL Bindless Images extension only supports importing external resource memory using NT handle on Windows. If assert(%0.get_win32_handle()) fails, you may need to adjust the code to use (%0.get_win32_handle()).")
300
300
DEF_COMMENT(UNSUPPORTED_EXTMEM_WIN_HANDLE, 1136, HIGH_LEVEL, "SYCL Bindless Images extension only supports importing external resource memory using NT handle on Windows. If assert({0}.get_win32_handle()) fails, you may need to adjust the code to use ({0}.get_win32_handle()).")
301
-
DEF_WARNING(ASYNC_COPY_DEVICE_WARN, 1137, LOW_LEVEL, "ASM instruction \"cp.async\" is asynchronous copy, current it is migrated to synchronous copy operation. You may need to adjust the code to tune the performance.")
302
-
DEF_COMMENT(ASYNC_COPY_DEVICE_WARN, 1137, LOW_LEVEL, "ASM instruction \"cp.async\" is asynchronous copy, current it is migrated to synchronous copy operation. You may need to adjust the code to tune the performance.")
301
+
DEF_WARNING(ASYNC_COPY_DEVICE_WARN, 1137, LOW_LEVEL, "ASM instruction \"%0\" is asynchronous copy, current it is migrated to synchronous copy operation. You may need to adjust the code to tune the performance.")
302
+
DEF_COMMENT(ASYNC_COPY_DEVICE_WARN, 1137, LOW_LEVEL, "ASM instruction \"{0}\" is asynchronous copy, current it is migrated to synchronous copy operation. You may need to adjust the code to tune the performance.")
// CHECK-NEXT: DPCT1026:{{[0-9]+}}: The call to "cp.async.commit_group;" was removed because current "cp.async" is migrated to synchronous copy operation. You may need to adjust the code to tune the performance.
72
+
// CHECK-NEXT: */
73
+
// CHECK-EMPTY:
74
+
// CHECK-NEXT:}
75
+
__device__inlinevoidcp_async_commit_group() {
76
+
asmvolatile("cp.async.commit_group;" ::);
77
+
}
78
+
79
+
// CHECK:inline void cp_async_wait_group() {
80
+
// CHECK-NEXT: /*
81
+
// CHECK-NEXT: DPCT1026:{{[0-9]+}}: The call to "cp.async.wait_group 0;" was removed because current "cp.async" is migrated to synchronous copy operation. You may need to adjust the code to tune the performance.
82
+
// CHECK-NEXT: */
83
+
// CHECK-EMPTY:
84
+
// CHECK-NEXT:}
85
+
__device__inlinevoidcp_async_wait_group() {
86
+
asmvolatile("cp.async.wait_group 0;");
87
+
}
88
+
89
+
// CHECK:inline void cp_async_wait_all() {
90
+
// CHECK-NEXT: /*
91
+
// CHECK-NEXT: DPCT1026:{{[0-9]+}}: The call to "cp.async.wait_all;" was removed because current "cp.async" is migrated to synchronous copy operation. You may need to adjust the code to tune the performance.
0 commit comments