Is this a new feature, an improvement, or a change to existing functionality?
New Feature
How would you describe the priority of this feature request?
Critical (currently preventing usage)
Please provide a clear description of problem this feature solves
A function like ct.viewas(x, dtype=int32), convert x to int32 without changing underlying data.
Feature Description
I am writing a function to compute the global maximum, but I found that the ct.atomic_max method only supports int32. So I tried to directly treat fp32 data as int32, however, I cannot find any function that can cast an fp32 tile to int32 without modifying the underlying data.
Describe your ideal solution
A function like ct.viewas(x, dtype=int32), convert x to int32 without changing underlying data.
Describe any alternatives you have considered
No response
Additional context
No response
Contributing Guidelines
Is this a new feature, an improvement, or a change to existing functionality?
New Feature
How would you describe the priority of this feature request?
Critical (currently preventing usage)
Please provide a clear description of problem this feature solves
A function like ct.viewas(x, dtype=int32), convert x to int32 without changing underlying data.
Feature Description
I am writing a function to compute the global maximum, but I found that the ct.atomic_max method only supports int32. So I tried to directly treat fp32 data as int32, however, I cannot find any function that can cast an fp32 tile to int32 without modifying the underlying data.
Describe your ideal solution
A function like ct.viewas(x, dtype=int32), convert x to int32 without changing underlying data.
Describe any alternatives you have considered
No response
Additional context
No response
Contributing Guidelines