summaryrefslogtreecommitdiff
path: root/backend/src/ocl_stdlib.h
diff options
context:
space:
mode:
authorSimon Richter <Simon.Richter@hogyros.de>2013-04-22 19:02:52 +0200
committerZhigang Gong <zhigang.gong@linux.intel.com>2013-04-24 16:06:27 +0800
commit6d1fb852a49b310f09170bbe854daf2e1eb79eea (patch)
tree620a66550bb7e4ca074448d3cd5dea7f92d52d6a /backend/src/ocl_stdlib.h
parent62d5f27eddd922b61fa4081b6b46ab8f655619cb (diff)
downloadbeignet-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.h2
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