@@ -21,7 +21,8 @@ struct LocalMemoryUpdateTestBase
2121 << " Local memory argument update not supported on Level Zero." ;
2222 }
2323
24- // HIP has extra args for local memory so we define an offset for arg indices here for updating
24+ // HIP has extra args for local memory so we define an offset for arg
25+ // indices here for updating
2526 hip_arg_offset = backend == UR_PLATFORM_BACKEND_HIP ? 3 : 0 ;
2627 ur_device_usm_access_capability_flags_t shared_usm_flags;
2728 ASSERT_SUCCESS (
@@ -313,7 +314,7 @@ TEST_P(LocalMemoryUpdateTest, UpdateLocalOnly) {
313314// Test updating A,X,Y parameters to new values and omitting local memory parameters
314315// from the update.
315316TEST_P (LocalMemoryUpdateTest, UpdateParametersEmptyLocalSize) {
316- // Run command-buffer prior to update an verify output
317+ // Run command-buffer prior to update and verify output
317318 ASSERT_SUCCESS (urCommandBufferEnqueueExp (updatable_cmd_buf_handle, queue, 0 ,
318319 nullptr , nullptr ));
319320 ASSERT_SUCCESS (urQueueFinish (queue));
@@ -547,7 +548,7 @@ TEST_P(LocalMemoryUpdateTest, UpdateParametersSmallerLocalSize) {
547548// Test updating A,X,Y parameters to new values and local memory parameters
548549// to new larger values.
549550TEST_P (LocalMemoryUpdateTest, UpdateParametersLargerLocalSize) {
550- // Run command-buffer prior to update an verify output
551+ // Run command-buffer prior to update and verify output
551552 ASSERT_SUCCESS (urCommandBufferEnqueueExp (updatable_cmd_buf_handle, queue, 0 ,
552553 nullptr , nullptr ));
553554 ASSERT_SUCCESS (urQueueFinish (queue));
@@ -700,10 +701,10 @@ TEST_P(LocalMemoryUpdateTest, UpdateParametersLargerLocalSize) {
700701}
701702
702703// Test updating A,X,Y parameters to new values and only one of the local memory
703- // parameters, which is set to a new values . Then a separate update call for
704+ // parameters, which is set to a new value . Then a separate update call for
704705// the other local memory argument.
705706TEST_P (LocalMemoryUpdateTest, UpdateParametersPartialLocalSize) {
706- // Run command-buffer prior to update an verify output
707+ // Run command-buffer prior to update and verify output
707708 ASSERT_SUCCESS (urCommandBufferEnqueueExp (updatable_cmd_buf_handle, queue, 0 ,
708709 nullptr , nullptr ));
709710 ASSERT_SUCCESS (urQueueFinish (queue));
0 commit comments