Skip to content

Commit

Permalink
Update Insert Pos comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiomestre committed Jan 15, 2025
1 parent beb5c77 commit 86885a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/adapters/cuda/kernel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ struct ur_kernel_handle_t_ {
args_size_t ParamSizes;
/// Byte offset into /p Storage allocation for each parameter.
args_index_t Indices;
/// Largest argument index that has been added to this kernel so far.
/// Position in the Storage array where the next argument should added.
size_t InsertPos = 0;
/// Aligned size in bytes for each local memory parameter after padding has
/// been added. Zero if the argument at the index isn't a local memory
Expand Down
2 changes: 1 addition & 1 deletion source/adapters/hip/kernel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ struct ur_kernel_handle_t_ {
args_size_t ParamSizes;
/// Byte offset into /p Storage allocation for each parameter.
args_index_t Indices;
/// Largest argument index that has been added to this kernel so far.
/// Position in the Storage array where the next argument should added.
size_t InsertPos = 0;
/// Aligned size in bytes for each local memory parameter after padding has
/// been added. Zero if the argument at the index isn't a local memory
Expand Down

0 comments on commit 86885a1

Please sign in to comment.