This question is regarding the mad functions available in OpenCL which promise significant improvements for calculations of the type:
a * b + c
if used as mad(a,b,c) and compiled with cl-mad-enable.
I have tried a calculation of the form a + b * c + d * e using mad for a very huge size and was expecting significant improvement. Surprisingly, it took the same time.
If anybody has experience of this, I would appreciate some insight. I have a jist that it should work because most of the resources are full of praise for mad(). Note: The data types I am using are all doubles, and if it is important, my usage of mad resulted in a v. huge precision loss.