Skip to content
Permalink
Browse files

Fix pocl + ppc64le + c++11 build issue #800

patch by Simon Branford
  • Loading branch information
Michal Babej
Michal Babej committed Mar 22, 2020
1 parent 16577f2 commit e51448d65c15bda8624044ac5b66872c2c6737f2
Showing with 3 additions and 0 deletions.
  1. +1 −0 CREDITS
  2. +2 −0 include/CL/cl_platform.h
@@ -71,3 +71,4 @@ Jan Solanti <jan.solanti@tuni.fi>
Stefan Brüns <stefan.bruens@rwth-aachen.de>
Tobias Baumann <t.baumann@agdsn.de>
Alberto Cerato <alberto.cerato@fcagroup.com>
Simon Branford <s.j.branford@bham.ac.uk>
@@ -356,6 +356,8 @@ typedef unsigned int cl_GLenum;
/* Define basic vector types */
#if defined( __VEC__ )
#include <altivec.h> /* may be omitted depending on compiler. AltiVec spec provides no way to detect whether the header is required. */
#undef bool
#undef vector
typedef __vector unsigned char __cl_uchar16;
typedef __vector signed char __cl_char16;
typedef __vector unsigned short __cl_ushort8;

0 comments on commit e51448d

Please sign in to comment.
You can’t perform that action at this time.