@@ -21,7 +21,8 @@ struct LocalMemoryUpdateTestBase
21
21
<< " Local memory argument update not supported on Level Zero." ;
22
22
}
23
23
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
25
26
hip_arg_offset = backend == UR_PLATFORM_BACKEND_HIP ? 3 : 0 ;
26
27
ur_device_usm_access_capability_flags_t shared_usm_flags;
27
28
ASSERT_SUCCESS (
@@ -313,7 +314,7 @@ TEST_P(LocalMemoryUpdateTest, UpdateLocalOnly) {
313
314
// Test updating A,X,Y parameters to new values and omitting local memory parameters
314
315
// from the update.
315
316
TEST_P (LocalMemoryUpdateTest, UpdateParametersEmptyLocalSize) {
316
- // Run command-buffer prior to update an verify output
317
+ // Run command-buffer prior to update and verify output
317
318
ASSERT_SUCCESS (urCommandBufferEnqueueExp (updatable_cmd_buf_handle, queue, 0 ,
318
319
nullptr , nullptr ));
319
320
ASSERT_SUCCESS (urQueueFinish (queue));
@@ -547,7 +548,7 @@ TEST_P(LocalMemoryUpdateTest, UpdateParametersSmallerLocalSize) {
547
548
// Test updating A,X,Y parameters to new values and local memory parameters
548
549
// to new larger values.
549
550
TEST_P (LocalMemoryUpdateTest, UpdateParametersLargerLocalSize) {
550
- // Run command-buffer prior to update an verify output
551
+ // Run command-buffer prior to update and verify output
551
552
ASSERT_SUCCESS (urCommandBufferEnqueueExp (updatable_cmd_buf_handle, queue, 0 ,
552
553
nullptr , nullptr ));
553
554
ASSERT_SUCCESS (urQueueFinish (queue));
@@ -700,10 +701,10 @@ TEST_P(LocalMemoryUpdateTest, UpdateParametersLargerLocalSize) {
700
701
}
701
702
702
703
// 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
704
705
// the other local memory argument.
705
706
TEST_P (LocalMemoryUpdateTest, UpdateParametersPartialLocalSize) {
706
- // Run command-buffer prior to update an verify output
707
+ // Run command-buffer prior to update and verify output
707
708
ASSERT_SUCCESS (urCommandBufferEnqueueExp (updatable_cmd_buf_handle, queue, 0 ,
708
709
nullptr , nullptr ));
709
710
ASSERT_SUCCESS (urQueueFinish (queue));
0 commit comments