diff --git a/src/codegen/codegen_c.h b/src/codegen/codegen_c.h index ce882eda4a18e088b7754d4a855f269c9479e71d..bc44e3812484e618e30562b33c0d09f79e2b8e72 100644 --- a/src/codegen/codegen_c.h +++ b/src/codegen/codegen_c.h @@ -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&)>,