Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
116b5a5a
Commit
116b5a5a
authored
Feb 04, 2018
by
PENGUINLIONG
Committed by
Tianqi Chen
Feb 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Note about CodeGenC's Range of Use (#866)
parent
2e94a4b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/codegen/codegen_c.h
+5
-0
No files found.
src/codegen/codegen_c.h
View file @
116b5a5a
...
@@ -24,6 +24,11 @@ using namespace ir;
...
@@ -24,6 +24,11 @@ using namespace ir;
* \brief A base class to generate C code.
* \brief A base class to generate C code.
*
*
* CodeGenC have two modes: generate SSA formed C code or normal form.
* 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
:
class
CodeGenC
:
public
ExprFunctor
<
void
(
const
Expr
&
,
std
::
ostream
&
)
>
,
public
ExprFunctor
<
void
(
const
Expr
&
,
std
::
ostream
&
)
>
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment