You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User kernels are currently being transported to C kernel files without any code analysis. The compiler simply rename variables and replace math functions' names. In this sense, Math.abs function is replaced to "fabs", which is a C version for getting absolute values from float variables. This will cause RenderScript and OpenCL compilation errors in C files once the user deals with Math.abs and integer numbers in Java, since the equivalent function in C is "abs".
The text was updated successfully, but these errors were encountered:
User kernels are currently being transported to C kernel files without any code analysis. The compiler simply rename variables and replace math functions' names. In this sense, Math.abs function is replaced to "fabs", which is a C version for getting absolute values from float variables. This will cause RenderScript and OpenCL compilation errors in C files once the user deals with Math.abs and integer numbers in Java, since the equivalent function in C is "abs".
The text was updated successfully, but these errors were encountered: