[Libclc-dev] [PATCH 2/4] Use brackets around include files in length.cl and normalize.cl
Tom Stellard
tom at stellard.net
Thu Feb 7 09:54:32 PST 2013
From: Tom Stellard <thomas.stellard at amd.com>
These functions were not being compiled
---
generic/lib/geometric/length.cl | 2 +-
generic/lib/geometric/normalize.cl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/generic/lib/geometric/length.cl b/generic/lib/geometric/length.cl
index cbe84a0..e26f2b8 100644
--- a/generic/lib/geometric/length.cl
+++ b/generic/lib/geometric/length.cl
@@ -4,5 +4,5 @@
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
#endif
-#define BODY "length.inc"
+#define BODY <length.inc>
#include <clc/geometric/floatn.inc>
diff --git a/generic/lib/geometric/normalize.cl b/generic/lib/geometric/normalize.cl
index e5a521f..70d255d 100644
--- a/generic/lib/geometric/normalize.cl
+++ b/generic/lib/geometric/normalize.cl
@@ -4,5 +4,5 @@
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
#endif
-#define BODY "normalize.inc"
+#define BODY <normalize.inc>
#include <clc/geometric/floatn.inc>
--
1.7.8.6
More information about the Libclc-dev
mailing list