Mercurial > hg > Papers > 2022 > pine-thesis
view paper/src/context.h @ 13:ae09749b0890 default tip
fix summary and add figs for debugger
author | Takato Matsuoka <t.matsuoka@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 15 Feb 2022 00:08:04 +0900 |
parents | c1b0c73d36ce |
children |
line wrap: on
line source
struct Context { enum Code next; struct Worker* worker; struct TaskManager* taskManager; int codeNum; __code (**code) (struct Context*); union Data **data; struct Meta **metaDataStart; struct Meta **metaData; void* heapStart; void* heap; long heapLimit; int dataNum; // task parameter int idgCount; //number of waiting dataGear int idg; int maxIdg; int odg; int maxOdg; int gpu; // GPU task struct Context* task; struct Element* taskList; #ifdef USE_CUDAWorker int num_exec; CUmodule module; CUfunction function; #endif /* multi dimension parameter */ int iterate; struct Iterator* iterator; };