Skip to content

Adding _base variants of all string view int parsing and clean up hip options. - #21086

Merged
benvanik merged 1 commit into
mainfrom
users/benvanik/string-view-base
Jun 12, 2025
Merged

benvanik merged 1 commit into
mainfrom
users/benvanik/string-view-base

Conversation

@benvanik

Copy link
Copy Markdown
Collaborator

A uint64 version was added awhile back but the rest were missing. C's strtol and co all take a base and this just passes that through. The non-_base methods assume 0 ("interpret from string") as before.

Also cleaned up hip driver int parsing code a bit (noticed while touching the string view functions).

A uint64 version was added awhile back but the rest were missing.
C's strtol and co all take a base and this just passes that through.
The non-_base methods assume 0 ("interpret from string") as before.

Also cleaned up hip driver int parsing code a bit (noticed while
touching the string view functions).
@benvanik
benvanik force-pushed the users/benvanik/string-view-base branch from 6437fa4 to 2b9b5dd Compare June 12, 2025 18:32
@benvanik
benvanik marked this pull request as ready for review June 12, 2025 19:04
@benvanik
benvanik requested a review from AWoloszyn as a code owner June 12, 2025 19:04
@benvanik
benvanik enabled auto-merge (squash) June 12, 2025 19:05
@benvanik benvanik added the runtime Relating to the IREE runtime library label Jun 12, 2025
@benvanik
benvanik merged commit c2e314a into main Jun 12, 2025
@benvanik
benvanik deleted the users/benvanik/string-view-base branch June 12, 2025 21:27
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
… options. (#21086)

A uint64 version was added awhile back but the rest were missing. C's
strtol and co all take a base and this just passes that through. The
non-_base methods assume 0 ("interpret from string") as before.

Also cleaned up hip driver int parsing code a bit (noticed while
touching the string view functions).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup 🧹 runtime Relating to the IREE runtime library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants