diff --git a/clang/lib/DPCT/Diagnostics/Diagnostics.inc b/clang/lib/DPCT/Diagnostics/Diagnostics.inc index 9e132e474aa7..273bf19fc699 100644 --- a/clang/lib/DPCT/Diagnostics/Diagnostics.inc +++ b/clang/lib/DPCT/Diagnostics/Diagnostics.inc @@ -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 diff --git a/clang/test/dpct/asm/cp.cu b/clang/test/dpct/asm/cp.cu index 529e84acb9dc..9444c22a865f 100644 --- a/clang/test/dpct/asm/cp.cu +++ b/clang/test/dpct/asm/cp.cu @@ -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)); @@ -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;