diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-17 18:58:56 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-17 18:58:56 -0600 |
commit | bdaf6dc251d98fc1c93165fa8579378204b395e1 (patch) | |
tree | ef961130983342c2615a0a84c8f754a017449312 /chill/src/loop.cc | |
parent | 8ef3af85585446d897ae292476f433fb6db20c0c (diff) | |
download | chill-bdaf6dc251d98fc1c93165fa8579378204b395e1.tar.gz chill-bdaf6dc251d98fc1c93165fa8579378204b395e1.tar.bz2 chill-bdaf6dc251d98fc1c93165fa8579378204b395e1.zip |
chill doc
Diffstat (limited to 'chill/src/loop.cc')
-rw-r--r-- | chill/src/loop.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/chill/src/loop.cc b/chill/src/loop.cc index f4cd844..f187a50 100644 --- a/chill/src/loop.cc +++ b/chill/src/loop.cc @@ -748,17 +748,6 @@ void Loop::pragma(int stmt_num, int level, const std::string &pragmaText) { CG_outputRepr *code = stmt[stmt_num].code; ocg->CreatePragmaAttribute(code, level, pragmaText); } -/* -void Loop::prefetch(int stmt_num, int level, const std::string &arrName, const std::string &indexName, int offset, int hint) { - // check sanity of parameters - if(stmt_num < 0) - throw std::invalid_argument("invalid statement " + to_string(stmt_num)); - - CG_outputBuilder *ocg = ir->builder(); - CG_outputRepr *code = stmt[stmt_num].code; - ocg->CreatePrefetchAttribute(code, level, arrName, indexName, int offset, hint); -} -*/ void Loop::prefetch(int stmt_num, int level, const std::string &arrName, int hint) { // check sanity of parameters |