You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ChrisCummins
changed the title
preprocess: Preserve as_<type>() calls during re-writing
Preserve OpenCL as_<type>() calls during re-writing
Oct 23, 2017
livclc defines the family of
as_char()
,as_int()
, etc calls as macros: https://github.com/llvm-mirror/libclc/blob/master/generic/include/clc/as_type.hThis means that the clgen re-writer will inline them to
__builtin_astype()
calls. We shouldn't do this.The fix may be as simple as
#undef
-ing all of those libclc macros.The text was updated successfully, but these errors were encountered: