Skip to content

Add address_type=auto#1433

Open
akiradeveloper wants to merge 1 commit into
tracel-ai:mainfrom
akiradeveloper:address-type-auto
Open

Add address_type=auto#1433
akiradeveloper wants to merge 1 commit into
tracel-ai:mainfrom
akiradeveloper:address-type-auto

Conversation

@akiradeveloper

Copy link
Copy Markdown
Contributor

Add support for #[cube(..., address_type = "auto")].

Automatic mode selects the concrete AddressType at launch time from the
largest indexable buffer length used by the kernel:

  • U32 when every buffer length fits in u32
  • U64 when at least one buffer exceeds u32::MAX

The resolved concrete address type is included in the existing kernel settings
and cache key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant