You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/snk_genw.sh
+4-66Lines changed: 4 additions & 66 deletions
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,6 @@ function write_header_template(){
118
118
#endif
119
119
#ifndef __SNK_DEFS
120
120
#define SNK_MAX_STREAMS 8
121
-
#define SNK_MAX_TASKS 100001
122
121
extern _CPPSTRING_ void stream_sync(const int stream_num);
123
122
124
123
#define SNK_ORDERED 1
@@ -144,12 +143,10 @@ struct snk_lparm_s {
144
143
int barrier; /* default = SNK_UNORDERED */
145
144
int acquire_fence_scope; /* default = 2 */
146
145
int release_fence_scope; /* default = 2 */
147
-
snk_task_t *requires ; /* Linked list of required parent tasks, default = NULL */
148
-
snk_task_t *needs ; /* Linked list of parent tasks where only one must complete, default=NULL */
149
146
} ;
150
147
151
148
/* This string macro is used to declare launch parameters set default values */
152
-
#define SNK_INIT_LPARM(X,Y) snk_lparm_t * X ; snk_lparm_t _ ## X ={.ndim=1,.gdims={Y},.ldims={64},.stream=-1,.barrier=SNK_UNORDERED,.acquire_fence_scope=2,.release_fence_scope=2,.requires=NULL,.needs=NULL} ; X = &_ ## X ;
149
+
#define SNK_INIT_LPARM(X,Y) snk_lparm_t * X ; snk_lparm_t _ ## X ={.ndim=1,.gdims={Y},.ldims={64},.stream=-1,.barrier=SNK_UNORDERED,.acquire_fence_scope=2,.release_fence_scope=2} ; X = &_ ## X ;
153
150
154
151
/* Equivalent host data types for kernel data types */
0 commit comments