File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,17 @@ typedef struct {
33
33
unsigned long long size; /* size of this memory */
34
34
} aocl_mmd_memory_info_t ;
35
35
36
+ // Interface to simulator to describe streaming kernel arguments that are
37
+ // excluded from the invocation image. Streaming arguments are passed to the
38
+ // simulator by calling aocl_mmd_simulation_streaming_kernel_args(), before
39
+ // writing the kernel invocation image containing non-streaming arguments.
40
+ struct aocl_mmd_streaming_kernel_arg_info_t {
41
+ // unique identifier for the bus-functional model (BFM)
42
+ std::string name;
43
+ // argument value
44
+ std::vector<char > value;
45
+ };
46
+
36
47
// MMD Version checking
37
48
// Since MMD version changes only with major releases it is safe to assume
38
49
// this is a float with at most one decimal
@@ -120,6 +131,11 @@ typedef struct {
120
131
int *error);
121
132
122
133
double mmd_version;
134
+
135
+ // Passes streaming kernel argument names and values to simulator.
136
+ void (*aocl_mmd_simulation_streaming_kernel_args)(
137
+ int handle,
138
+ const std::vector<aocl_mmd_streaming_kernel_arg_info_t > &streaming_args);
123
139
} acl_mmd_dispatch_t ;
124
140
125
141
typedef struct {
You can’t perform that action at this time.
0 commit comments