We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3db7642 commit 7b89c00Copy full SHA for 7b89c00
libclc/ptx-nvidiacl/libspirv/math/tanh.cl
@@ -14,12 +14,11 @@
14
int __clc_nvvm_reflect_arch();
15
int __clc_nvvm_reflect_approx_tanh();
16
17
-float __select_tanhf (float x){
18
- if(__clc_nvvm_reflect_approx_tanh() && __clc_nvvm_reflect_arch() >= 800) {
+float __select_tanhf (float x) {
+ if (__clc_nvvm_reflect_approx_tanh() && __clc_nvvm_reflect_arch() >= 800) {
19
return __nvvm_tanh_approx_f(x);
20
- } else {
21
- return __nv_tanhf(x);
22
}
+ return __nv_tanhf(x);
23
24
25
#define __CLC_FUNCTION __spirv_ocl_tanh
0 commit comments