@@ -875,7 +875,7 @@ int acl_kernel_if_update(const acl_device_def_autodiscovery_t &devdef,
875
875
kern->accel_csr = (acl_kernel_if_addr_range *)acl_malloc (
876
876
kern->num_accel * sizeof (acl_kernel_if_addr_range));
877
877
if (!(kern->accel_csr )) {
878
- ACL_KERNEL_IF_DEBUG_MSG (kern,
878
+ ACL_KERNEL_IF_DEBUG_MSG (kern,
879
879
" Failed to allocate memory for kernel csr.\n " );
880
880
return 1 ;
881
881
}
@@ -890,7 +890,7 @@ int acl_kernel_if_update(const acl_device_def_autodiscovery_t &devdef,
890
890
(unsigned int *)acl_malloc (kern->num_accel * sizeof (unsigned int ));
891
891
if (!(kern->accel_num_printfs )) {
892
892
ACL_KERNEL_IF_DEBUG_MSG (
893
- kern,
893
+ kern,
894
894
" Failed to allocate memory for kernel number of printf tracker.\n " );
895
895
return 1 ;
896
896
}
@@ -963,7 +963,7 @@ int acl_kernel_if_update(const acl_device_def_autodiscovery_t &devdef,
963
963
kern->accel_job_ids =
964
964
(int volatile **)acl_malloc (kern->num_accel * sizeof (int *));
965
965
if (!(kern->accel_job_ids )) {
966
- ACL_KERNEL_IF_DEBUG_MSG (kern,
966
+ ACL_KERNEL_IF_DEBUG_MSG (kern,
967
967
" Failed to allocate memory for kernel id.\n " );
968
968
return 1 ;
969
969
}
@@ -972,7 +972,7 @@ int acl_kernel_if_update(const acl_device_def_autodiscovery_t &devdef,
972
972
(unsigned int *)acl_malloc (kern->num_accel * sizeof (unsigned int ));
973
973
if (!(kern->accel_invoc_queue_depth )) {
974
974
ACL_KERNEL_IF_DEBUG_MSG (
975
- kern,
975
+ kern,
976
976
" Failed to allocate memory for kernel invocation queue depth.\n " );
977
977
return 1 ;
978
978
}
0 commit comments