Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [OpenCL] Rename lang mode flag for C++ mode | Anastasia Stulova | 2019-07-25 | 1 | -1/+1 |
| | | | | | | | | | | | | Rename lang mode flag to -cl-std=clc++/-cl-std=CLC++ or -std=clc++/-std=CLC++. This aligns with OpenCL C conversion and removes ambiguity with OpenCL C++. Differential Revision: https://reviews.llvm.org/D65102 llvm-svn: 367008 | ||||
* | [OpenCL] Make global ctor init function a kernel | Anastasia Stulova | 2019-05-09 | 1 | -0/+11 |
We need to be able to enqueue internal function that initializes global constructors on the host side. Therefore it has to be converted to a kernel. This change factors out common logic for adding kernel metadata and moves it from CodeGenFunction to CodeGenModule in order to make it accessible for the extra use case. Differential revision: https://reviews.llvm.org/D61488 llvm-svn: 360342 |