Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging DML_STATUS_INTERNAL_ERROR with OP_MEM_MOVE #46

Open
fxlt2000 opened this issue Jul 19, 2024 · 1 comment
Open

Debugging DML_STATUS_INTERNAL_ERROR with OP_MEM_MOVE #46

fxlt2000 opened this issue Jul 19, 2024 · 1 comment
Assignees

Comments

@fxlt2000
Copy link

Is there any instruction for debugging DML_STATUS_INTERNAL_ERROR? I run into this issue randomly when running multi-threads application calling OP_MEM_MOVE. It fails some time but passes next time with exactly same src/dest addresses and copy length.

part of the code is shown below:
dml_job_t dml_job_ptr = NULL;
dml_path_t execution_path = DML_PATH_HW;
uint32_t size = 0u;
status = dml_get_job_size(execution_path, &size);
dml_job_ptr = (dml_job_t )malloc(size);
status = dml_init_job(execution_path, dml_job_ptr);
dml_job_ptr->operation = DML_OP_MEM_MOVE;
dml_job_ptr->source_length = 16
1024;
dml_job_ptr->source_first_ptr = src_ptr; /
16KB aligned /
dml_job_ptr->destination_first_ptr = dst_ptr; /
16KB aligned */
status = dml_execute_job(dml_job_ptr, DML_WAIT_MODE_BUSY_POLL);

@abdelrahim-hentabli
Copy link
Contributor

Hey @fxlt2000 usually a DML_STATUS_INTERNAL_ERROR would mean that you've encountered some issue within DML (its not something you did).

Could you share a reproducer for this issue so we could take a look at it?

@abdelrahim-hentabli abdelrahim-hentabli self-assigned this Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants