[libclc] 233/291: Move mix from math to common
Andreas Beckmann
anbe at moszumanska.debian.org
Tue Sep 8 10:53:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
anbe pushed a commit to branch master
in repository libclc.
commit d474a139e432ed3b3919990f60d58e6d3363a986
Author: Aaron Watry <awatry at gmail.com>
Date: Tue Mar 3 21:25:08 2015 +0000
Move mix from math to common
It has been part of the common functions since 1.0
Signed-off-by: Aaron Watry <awatry at gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@231137 91177308-0d34-0410-b5e6-96231b3b80d8
---
generic/include/clc/clc.h | 2 +-
generic/include/clc/common/mix.h | 2 ++
generic/include/clc/{math => common}/mix.inc | 0
generic/include/clc/math/mix.h | 2 --
generic/lib/SOURCES | 2 +-
generic/lib/{math => common}/mix.cl | 0
generic/lib/{math => common}/mix.inc | 0
7 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/generic/include/clc/clc.h b/generic/include/clc/clc.h
index 92ef769..ae611a5 100644
--- a/generic/include/clc/clc.h
+++ b/generic/include/clc/clc.h
@@ -55,7 +55,6 @@
#include <clc/math/log1p.h>
#include <clc/math/log2.h>
#include <clc/math/mad.h>
-#include <clc/math/mix.h>
#include <clc/math/nextafter.h>
#include <clc/math/pow.h>
#include <clc/math/pown.h>
@@ -110,6 +109,7 @@
/* 6.11.4 Common Functions */
#include <clc/common/degrees.h>
#include <clc/common/radians.h>
+#include <clc/common/mix.h>
#include <clc/common/sign.h>
#include <clc/common/smoothstep.h>
#include <clc/common/step.h>
diff --git a/generic/include/clc/common/mix.h b/generic/include/clc/common/mix.h
new file mode 100644
index 0000000..262861c
--- /dev/null
+++ b/generic/include/clc/common/mix.h
@@ -0,0 +1,2 @@
+#define __CLC_BODY <clc/common/mix.inc>
+#include <clc/math/gentype.inc>
diff --git a/generic/include/clc/math/mix.inc b/generic/include/clc/common/mix.inc
similarity index 100%
rename from generic/include/clc/math/mix.inc
rename to generic/include/clc/common/mix.inc
diff --git a/generic/include/clc/math/mix.h b/generic/include/clc/math/mix.h
deleted file mode 100644
index c3c95c1..0000000
--- a/generic/include/clc/math/mix.h
+++ /dev/null
@@ -1,2 +0,0 @@
-#define __CLC_BODY <clc/math/mix.inc>
-#include <clc/math/gentype.inc>
diff --git a/generic/lib/SOURCES b/generic/lib/SOURCES
index f0488ef..8411b8f 100644
--- a/generic/lib/SOURCES
+++ b/generic/lib/SOURCES
@@ -28,6 +28,7 @@ cl_khr_local_int32_extended_atomics/atom_or.cl
cl_khr_local_int32_extended_atomics/atom_xor.cl
convert.cl
common/degrees.cl
+common/mix.cl
common/radians.cl
common/sign.cl
common/smoothstep.cl
@@ -71,7 +72,6 @@ math/hypot.cl
math/log10.cl
math/log1p.cl
math/mad.cl
-math/mix.cl
math/tables.cl
math/clc_nextafter.cl
math/nextafter.cl
diff --git a/generic/lib/math/mix.cl b/generic/lib/common/mix.cl
similarity index 100%
rename from generic/lib/math/mix.cl
rename to generic/lib/common/mix.cl
diff --git a/generic/lib/math/mix.inc b/generic/lib/common/mix.inc
similarity index 100%
rename from generic/lib/math/mix.inc
rename to generic/lib/common/mix.inc
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git
More information about the Pkg-opencl-commits
mailing list