cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Raistmer
Adept II

Native functions support

In what release to expect?

For SDK 2.2:
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: No

Some times ago Macah wrote that availability of native functions will be adressed in upcoming release.
It was before SDK 2.2

To avoid excessive branch/comparison instruction usage I need, for example, fast max instruction. My dataset consists of "ordinary" numbers, no NaNs and other edge cases handling needed.
There is fmax() native function in OpenCL guide that should be faster than max(), right?
When it will be implemented?
0 Likes
2 Replies
nou
Exemplar

native functions are meaned to execute native C/C++ function with clEnqueueNativeKernel().

fmax() is native OpenCL language function.

0 Likes

hi raistmer,

The list of functions implemented as native_ functions is given in Table 6.8 of OpenCl spec.

0 Likes