cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

fancyix
Adept I

Is unit2 operations faster than ulong in OpenCL on AMD GCN cards?

Which of the "+" calculation is faster?

1)

uint2 a, b, c;

c = a + b;

2)

ulong a, b, c;

c = a + b;

Specifically on RX 580 or Vega cards.

0 Likes
1 Reply
dipak
Big Boss

From the compiler team's feedback, it looks like normally speed should be the same, but register consumption can be higher with long type.

0 Likes