Skip to content

Commit

Permalink
repo-sync-2024-12-19T16:16:02+0800 (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaojian-ant authored Dec 19, 2024
1 parent 16a1910 commit b7b0e31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -797,9 +797,10 @@ int fpga_fedai_operator_accl(fpga_config *cfg, char *para, char *data1,
}
// Check whether data_size is supported
unsigned long long max_task_memspace = 0;
max_task_memspace = memory_total_size[fpga_id] / taskid_counts[fpga_id] *
1024 * 1024 * 1024 -
16 * 1024;
max_task_memspace =
static_cast<unsigned long long>(memory_total_size[fpga_id]) /
taskid_counts[fpga_id] * 1024 * 1024 * 1024 -
16 * 1024; // Updated by Ant Group
// fprintf(stdout,"cmd_size %ld, para_size %ld, data_size %ld, total_size
// %ld, max_task_space %ld\n",16*1024,cfg->para_data_size,
// cfg->data1_size,16*1024+cfg->para_data_size+cfg->data1_size,max_task_memspace+16*1024);
Expand Down
2 changes: 1 addition & 1 deletion heu/pylib/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# limitations under the License.


__version__ = "0.6.0.dev20241106"
__version__ = "0.6.0.dev0"

0 comments on commit b7b0e31

Please sign in to comment.