Merge pull request #3166 from akarsakov:ocl_native_sqrt

pull/3181/head
Vadim Pisarevsky 11 years ago
commit 1f85ffa11b
  1. 4
      modules/core/src/opencl/arithm.cl

@ -293,7 +293,11 @@
#define PROCESS_ELEM storedst(pown(srcelem1, srcelem2))
#elif defined OP_SQRT
#if depth <= 5
#define PROCESS_ELEM storedst(native_sqrt(srcelem1))
#else
#define PROCESS_ELEM storedst(sqrt(srcelem1))
#endif
#elif defined OP_LOG
#define PROCESS_ELEM \

Loading…
Cancel
Save