comparison TaskManager/Gpu/GpuScheduler.h @ 1513:18b63e697c61 draft

many_task/quick_sort is changed recursive to loop
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Mon, 08 Oct 2012 02:03:18 +0900
parents 0e1318e7caed
children b3644b73d2cf
comparison
equal deleted inserted replaced
1510:81f1afd1851f 1513:18b63e697c61
43 FifoDmaManager *fifoDmaManager; 43 FifoDmaManager *fifoDmaManager;
44 void load_kernel(int cmd); 44 void load_kernel(int cmd);
45 45
46 }; 46 };
47 47
48 extern void gpu_register_task(int cmd,const char* filename,const char* functionname); 48 #define GpuSchedRegister(str, filename, functionname) \
49 gpu_register_task(str, filename, functionname);
50
51 #define GpuNDRangeRegister(str, dimension, g_worksizePtr) \
52 gpu_register_ndrange(str, dimension, g_worksizePtr);
49 53
50 #endif 54 #endif
51 55
52 #define GpuSchedRegister(str, filename, functionname) \ 56 extern void gpu_register_task(int cmd,const char* filename,const char* functionname);
53 gpu_register_task(str, filename, functionname); 57 extern void gpu_register_ndrange(int, int, size_t*);