@@ -153,6 +153,11 @@ int acl_hal_mmd_set_profile_start_count(unsigned int physical_device_id,
153
153
int acl_hal_mmd_set_profile_stop_count (unsigned int physical_device_id,
154
154
unsigned int accel_id, uint64_t value);
155
155
156
+ int acl_hal_mmd_simulation_streaming_start (unsigned int physical_device_id,
157
+ const std::string &kernel_name);
158
+ int acl_hal_mmd_simulation_streaming_done (unsigned int physical_device_id,
159
+ const std::string &kernel_name);
160
+
156
161
static size_t acl_kernel_if_read (acl_bsp_io *io, dev_addr_t src, char *dest,
157
162
size_t size);
158
163
static size_t acl_kernel_if_write (acl_bsp_io *io, dev_addr_t dest,
@@ -343,7 +348,9 @@ static acl_hal_t acl_hal_mmd = {
343
348
acl_hal_mmd_close_devices, // close_devices
344
349
acl_hal_mmd_host_alloc, // host_alloc
345
350
acl_hal_mmd_free, // free
346
- acl_hal_mmd_shared_alloc // shared_alloc
351
+ acl_hal_mmd_shared_alloc, // shared_alloc
352
+ acl_hal_mmd_simulation_streaming_start, // simulation_streaming_start
353
+ acl_hal_mmd_simulation_streaming_done, // simulation_streaming_done
347
354
};
348
355
349
356
// This will contain the device physical id to tell us which device across all
@@ -2826,3 +2833,17 @@ unsigned acl_convert_mmd_capabilities(unsigned mmd_capabilities) {
2826
2833
}
2827
2834
return capability;
2828
2835
}
2836
+
2837
+ int acl_hal_mmd_simulation_streaming_start (unsigned int physical_device_id,
2838
+ const std::string &kernel_name) {
2839
+ return device_info[physical_device_id]
2840
+ .mmd_dispatch ->aocl_mmd_simulation_streaming_start (
2841
+ device_info[physical_device_id].handle , kernel_name);
2842
+ }
2843
+
2844
+ int acl_hal_mmd_simulation_streaming_done (unsigned int physical_device_id,
2845
+ const std::string &kernel_name) {
2846
+ return device_info[physical_device_id]
2847
+ .mmd_dispatch ->aocl_mmd_simulation_streaming_done (
2848
+ device_info[physical_device_id].handle , kernel_name);
2849
+ }
0 commit comments