Can I cast an int to a uint in Brook+?
If not, how do I assign from an int to a uint? I want to do something like
int4 indx = instance();
uint y_indx = indx.y;
uint x_indx = indx.x
uint x = (uint) someint;
I'd swear I tried that, but apparently not.
static_cast<uint>(foo) definitely didn't work.
Thanks
static_cast won't work as brcc is based on C, not C++.