[Libclc-dev] [PATCH 1/1] generic: add missing get_work_dim include

Jan Vesely via Libclc-dev libclc-dev at lists.llvm.org
Wed May 31 14:19:27 PDT 2017


Fixes few piglits since clang r304193

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---
 generic/include/clc/clc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/generic/include/clc/clc.h b/generic/include/clc/clc.h
index bf4b01d..4c29214 100644
--- a/generic/include/clc/clc.h
+++ b/generic/include/clc/clc.h
@@ -31,6 +31,7 @@
 #include <clc/workitem/get_num_groups.h>
 #include <clc/workitem/get_group_id.h>
 #include <clc/workitem/get_global_offset.h>
+#include <clc/workitem/get_work_dim.h>
 
 /* 6.11.2 Math Functions */
 #include <clc/math/acos.h>
-- 
2.9.4



More information about the Libclc-dev mailing list