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.

Tags (2)
0 Likes
Reply
1 Reply
dipak
Staff
Staff

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

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
Reply