I’m trying to use vector types in cuda. But have seen that even simple operations like addition and multiplication is not possible with it.
e.g. float4 a, b, c;
a = b + c;
gives error ‘+’ operation not overloaded
operands type are float4 + float4
Do i have to explicitly overload these operators or there is some header I have missed to include.(Currently included header is vector_types.h)
Any help or link related to this is appreciable!!!
Thanks in advance…!!!