mad24 - why no runtime difference?

Discussion created by FrodoTheGiant on Jan 4, 2011
Latest reply on Jan 5, 2011 by omion

Hello AMD


I have replaced all a*b+c integer calculations with mad24 in my code (and I have quite a few of those!). Unfortunately I see no runtime difference at all.


1) Does your OpenCL compiler automatically replace all a*b+c with mad24 ?

2) Does your OpenCL implementation support mad24 - or does the compiled code silently replace all mad24 with a*b+c ?