Skip to content

Commit 86885a1

Browse files
committed
Update Insert Pos comment
1 parent beb5c77 commit 86885a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/adapters/cuda/kernel.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ struct ur_kernel_handle_t_ {
6868
args_size_t ParamSizes;
6969
/// Byte offset into /p Storage allocation for each parameter.
7070
args_index_t Indices;
71-
/// Largest argument index that has been added to this kernel so far.
71+
/// Position in the Storage array where the next argument should added.
7272
size_t InsertPos = 0;
7373
/// Aligned size in bytes for each local memory parameter after padding has
7474
/// been added. Zero if the argument at the index isn't a local memory

source/adapters/hip/kernel.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ struct ur_kernel_handle_t_ {
6363
args_size_t ParamSizes;
6464
/// Byte offset into /p Storage allocation for each parameter.
6565
args_index_t Indices;
66-
/// Largest argument index that has been added to this kernel so far.
66+
/// Position in the Storage array where the next argument should added.
6767
size_t InsertPos = 0;
6868
/// Aligned size in bytes for each local memory parameter after padding has
6969
/// been added. Zero if the argument at the index isn't a local memory

0 commit comments

Comments
 (0)