Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clang/lib/DPCT/Diagnostics/Diagnostics.inc
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ DEF_WARNING(JOINT_MATRIX_SHAPE, 1135, HIGH_LEVEL, "Please check if joint_matrix
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.")
DEF_WARNING(UNSUPPORTED_EXTMEM_WIN_HANDLE, 1136, HIGH_LEVEL, "SYCL Bindless Images extension only supports importing external resource 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()).")
DEF_COMMENT(UNSUPPORTED_EXTMEM_WIN_HANDLE, 1136, HIGH_LEVEL, "SYCL Bindless Images extension only supports importing external resource 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()).")
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.")
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.")
DEF_WARNING(ASYNC_COPY_DEVICE_WARN, 1137, LOW_LEVEL, "ASM instruction \"%0\" is asynchronous copy, currently it is migrated to synchronous copy operation. You may need to adjust the code to tune the performance.")
DEF_COMMENT(ASYNC_COPY_DEVICE_WARN, 1137, LOW_LEVEL, "ASM instruction \"{0}\" is asynchronous copy, currently it is migrated to synchronous copy operation. You may need to adjust the code to tune the performance.")

// clang-format on

Expand Down
4 changes: 2 additions & 2 deletions clang/test/dpct/asm/cp.cu
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// CHECK-NEXT: const int BYTES = 16;
// CHECK-NEXT: auto smem = smem_ptr;
// CHECK-NEXT: /*
// CHECK-NEXT: DPCT1137:{{[0-9]+}}: 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.
// CHECK-NEXT: DPCT1137:{{[0-9]+}}: ASM instruction "cp.async" is asynchronous copy, currently it is migrated to synchronous copy operation. You may need to adjust the code to tune the performance.
// CHECK-NEXT: */
// CHECK-NEXT: {
// CHECK-NEXT: *(((uint32_t *)(uintptr_t)smem)) = *(((uint32_t *)(uintptr_t)glob_ptr));
Expand All @@ -38,7 +38,7 @@ __device__ inline void cp_async4(void *smem_ptr, const void *glob_ptr) {
// CHECK-NEXT: const int BYTES = 16;
// CHECK-NEXT: auto smem = smem_ptr;
// CHECK-NEXT: /*
// CHECK-NEXT: DPCT1137:{{[0-9]+}}: 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.
// CHECK-NEXT: DPCT1137:{{[0-9]+}}: ASM instruction "cp.async" is asynchronous copy, currently it is migrated to synchronous copy operation. You may need to adjust the code to tune the performance.
// CHECK-NEXT: */
// CHECK-NEXT: {
// CHECK-NEXT: bool p;
Expand Down