[Libclc-dev] [PATCH 2/2] Add native_powr builtin

Tom Stellard tom at stellard.net
Thu Sep 13 13:37:29 PDT 2012


From: Tom Stellard <thomas.stellard at amd.com>

---
 generic/include/clc/clc.h              | 1 +
 generic/include/clc/math/native_powr.h | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 generic/include/clc/math/native_powr.h

diff --git a/generic/include/clc/clc.h b/generic/include/clc/clc.h
index 565b505..fc41f76 100644
--- a/generic/include/clc/clc.h
+++ b/generic/include/clc/clc.h
@@ -51,6 +51,7 @@
 #include <clc/math/native_exp2.h>
 #include <clc/math/native_log.h>
 #include <clc/math/native_log2.h>
+#include <clc/math/native_powr.h>
 #include <clc/math/native_sin.h>
 #include <clc/math/native_sqrt.h>
 #include <clc/math/rsqrt.h>
diff --git a/generic/include/clc/math/native_powr.h b/generic/include/clc/math/native_powr.h
new file mode 100644
index 0000000..e8a37d9
--- /dev/null
+++ b/generic/include/clc/math/native_powr.h
@@ -0,0 +1 @@
+#define native_powr pow
-- 
1.7.11.4





More information about the Libclc-dev mailing list