@@ -154,6 +154,12 @@ int acl_hal_mmd_set_profile_start_count(unsigned int physical_device_id,
154
154
int acl_hal_mmd_set_profile_stop_count (unsigned int physical_device_id,
155
155
unsigned int accel_id, uint64_t value);
156
156
157
+ void acl_hal_mmd_simulation_streaming_kernel_start (
158
+ unsigned int physical_device_id, const std::string &kernel_name);
159
+ void acl_hal_mmd_simulation_streaming_kernel_done (
160
+ unsigned int physical_device_id, const std::string &kernel_name,
161
+ unsigned int &finish_counter);
162
+
157
163
static size_t acl_kernel_if_read (acl_bsp_io *io, dev_addr_t src, char *dest,
158
164
size_t size);
159
165
static size_t acl_kernel_if_write (acl_bsp_io *io, dev_addr_t dest,
@@ -344,7 +350,9 @@ static acl_hal_t acl_hal_mmd = {
344
350
acl_hal_mmd_close_devices, // close_devices
345
351
acl_hal_mmd_host_alloc, // host_alloc
346
352
acl_hal_mmd_free, // free
347
- acl_hal_mmd_shared_alloc // shared_alloc
353
+ acl_hal_mmd_shared_alloc, // shared_alloc
354
+ acl_hal_mmd_simulation_streaming_kernel_start, // simulation_streaming_kernel_start
355
+ acl_hal_mmd_simulation_streaming_kernel_done, // simulation_streaming_kernel_done
348
356
};
349
357
350
358
// This will contain the device physical id to tell us which device across all
@@ -2827,3 +2835,18 @@ unsigned acl_convert_mmd_capabilities(unsigned mmd_capabilities) {
2827
2835
}
2828
2836
return capability;
2829
2837
}
2838
+
2839
+ void acl_hal_mmd_simulation_streaming_kernel_start (
2840
+ unsigned int physical_device_id, const std::string &kernel_name) {
2841
+ device_info[physical_device_id]
2842
+ .mmd_dispatch ->aocl_mmd_simulation_streaming_kernel_start (
2843
+ device_info[physical_device_id].handle , kernel_name);
2844
+ }
2845
+
2846
+ void acl_hal_mmd_simulation_streaming_kernel_done (
2847
+ unsigned int physical_device_id, const std::string &kernel_name,
2848
+ unsigned int &finish_counter) {
2849
+ device_info[physical_device_id]
2850
+ .mmd_dispatch ->aocl_mmd_simulation_streaming_kernel_done (
2851
+ device_info[physical_device_id].handle , kernel_name, finish_counter);
2852
+ }
0 commit comments