diff options
author | Derick Huth <derickhuth@gmail.com> | 2015-09-24 12:22:41 -0600 |
---|---|---|
committer | Derick Huth <derickhuth@gmail.com> | 2015-09-24 12:22:41 -0600 |
commit | 4631ad76927d433da5d55c3c373a1dfd0f74c9d4 (patch) | |
tree | f8dcba88576ec95e403f0c14efd80e970f30a260 /ir_cudarose.hh | |
parent | 6eb2b89896da66a77d0dcdf2d72b98c122826949 (diff) | |
parent | 0cff3f9a3c4ccd434900162ebef4bd814850f481 (diff) | |
download | chill-4631ad76927d433da5d55c3c373a1dfd0f74c9d4.tar.gz chill-4631ad76927d433da5d55c3c373a1dfd0f74c9d4.tar.bz2 chill-4631ad76927d433da5d55c3c373a1dfd0f74c9d4.zip |
Merge pull request #7 from dhuth/master
V0.2.1
Diffstat (limited to 'ir_cudarose.hh')
-rw-r--r-- | ir_cudarose.hh | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/ir_cudarose.hh b/ir_cudarose.hh deleted file mode 100644 index 34e0404..0000000 --- a/ir_cudarose.hh +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef IR_CUDA_ROSE -#define IR_CUDA_ROSE - -#include <code_gen/CG_roseRepr.h> -#include <code_gen/CG_roseBuilder.h> -#include "ir_rose.hh" -#include "loop.hh" -#include "loop_cuda_rose.hh" -#include "ir_rose_utils.hh" - - - -class IR_cudaroseCode : public IR_roseCode{ - -public: - - - IR_cudaroseCode(const char *filename, const char* proc_name); - - - - SgGlobal *gsym_; - SgScopeStatement* defn; - SgGlobal* first_scope; - SgSymbolTable* parameter; - SgSymbolTable* body; - SgFunctionDefinition* func_defn; - std::vector<SgSymbolTable*> write_procs;//procs to write - - - IR_ArraySymbol *CreateArraySymbol(const IR_Symbol *sym, std::vector<omega::CG_outputRepr *> &size,int sharedAnnotation = 1); - omega::CG_outputRepr* init_code(){ return init_code_; } - bool commit_loop(Loop *loop, int loop_num); - std::vector<SgForStatement *> get_loops() - { - std::vector<SgForStatement *> loops = find_loops(func->get_definition()->get_body()); - return loops; - } - - ~IR_cudaroseCode(); - -}; - - -#endif - |