diff options
author | Simon Richter <Simon.Richter@hogyros.de> | 2013-04-22 19:02:52 +0200 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@linux.intel.com> | 2013-04-24 16:06:27 +0800 |
commit | 6d1fb852a49b310f09170bbe854daf2e1eb79eea (patch) | |
tree | 620a66550bb7e4ca074448d3cd5dea7f92d52d6a /backend/src/ocl_stdlib.h | |
parent | 62d5f27eddd922b61fa4081b6b46ab8f655619cb (diff) | |
download | beignet-6d1fb852a49b310f09170bbe854daf2e1eb79eea.tar.gz |
Add missing fmin() and fmax() overloads
These functions must also exist for vector types.
Signed-off-by: Simon Richter <Simon.Richter@hogyros.de>
Diffstat (limited to 'backend/src/ocl_stdlib.h')
-rw-r--r-- | backend/src/ocl_stdlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/src/ocl_stdlib.h b/backend/src/ocl_stdlib.h index ce0c5f9d..79616b86 100644 --- a/backend/src/ocl_stdlib.h +++ b/backend/src/ocl_stdlib.h @@ -684,6 +684,8 @@ DECL_VECTOR_1OP(__gen_ocl_internal_log10, float); } DECL_VECTOR_2OP(min, float); DECL_VECTOR_2OP(max, float); +DECL_VECTOR_2OP(__gen_ocl_internal_fmin, float); +DECL_VECTOR_2OP(__gen_ocl_internal_fmax, float); DECL_VECTOR_2OP(fmod, float); DECL_VECTOR_2OP(powr, float); #undef DECL_VECTOR_2OP |