[cfe-dev] [OpenCL] Turn on -fblocks by default for OpenCL 2.0
Bader, Alexey via cfe-dev
cfe-dev at lists.llvm.org
Thu May 12 03:12:19 PDT 2016
Hi Sam,
Enabling blocks for OpenCL 2.0 by default makes sense to me.
I think it would be useful to define built-in vector types for OpenCL too. Right now they are defined in the header file.
Thanks,
Alexey
From: Liu, Yaxun (Sam) [mailto:Yaxun.Liu at amd.com]
Sent: Wednesday, May 11, 2016 9:51 PM
To: cfe-dev (cfe-dev at lists.llvm.org) <cfe-dev at lists.llvm.org>; 'anastasia.stulova at arm.com' <anastasia.stulova at arm.com>; Pan, Xiuli <xiuli.pan at intel.com>; Bader, Alexey <alexey.bader at intel.com>
Subject: [OpenCL] Turn on -fblocks by default for OpenCL 2.0
OpenCL 2.0 supports blocks as core feature. However, Clang does not turn on blocks support by default for OpenCL 2.0. An option -fblocks has to be used to turn on blocks.
Should this be changed?
Thanks.
Sam
--------------------------------------------------------------------
Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park,
17 Krylatskaya Str., Bldg 4, Moscow 121614,
Russian Federation
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160512/76892b82/attachment.html>
More information about the cfe-dev
mailing list