-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I have noticed that equality operators are not allowed with vectors in TPC kernel code. Here is what the documentation says "Quality operators are equal (==), not equal to(!=) operate only on scalar types and result in an integer type."
So I am not allowed to do this...
bool64 eq = v_i32_cmp_eq_b(y, e);
bool64 ex = 1;
if (eq != ex) // not allowed, how to do something like this?
{
// do something different...
}I am also not allowed to access a vector type, IE: eq[i] != ex[i]
Is there any way to perform this type of operation?
Thanks,
Bryan
Metadata
Metadata
Assignees
Labels
No labels