Skip to content

Commit

Permalink
Note about CodeGenC's Range of Use (apache#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
PENGUINLIONG authored and tqchen committed Feb 3, 2018
1 parent 2e94a4b commit 116b5a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/codegen/codegen_c.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ using namespace ir;
* \brief A base class to generate C code.
*
* CodeGenC have two modes: generate SSA formed C code or normal form.
*
* **NOTE** CodeGenC does not aim at generating C codes consumed by MSVC or GCC,
* Rather, it's providing infrastructural abstraction for C variants like CUDA
* and OpenCL-C. You might find some odd variant features, e.g., type `int3` for
* a vector of 3 `int`s. For native C code generator, see `CodeGenLLVM`.
*/
class CodeGenC :
public ExprFunctor<void(const Expr&, std::ostream&)>,
Expand Down

0 comments on commit 116b5a5

Please sign in to comment.