Skip to content

Update MMD versioning scheme #342

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

Merged
merged 1 commit into from
Apr 1, 2024
Merged

Conversation

sophimao
Copy link
Contributor

Resolves #147 by deciding buffer location support based on the MMD version.

With the new versioning scheme, MMDs starting from version 2024.2 should be supporting buffer location and accepting the buffer location property.

@sophimao sophimao force-pushed the update-mmd-version branch 2 times, most recently from d580bda to 4e50f67 Compare February 27, 2024 21:57
@sophimao sophimao force-pushed the update-mmd-version branch 3 times, most recently from 125e290 to 9da3ad0 Compare March 25, 2024 14:01
@sophimao sophimao marked this pull request as ready for review March 25, 2024 18:15
@sophimao
Copy link
Contributor Author

Yes, looks good. This condition would probably never be true, unless BSP vendor sets the MMD version to something less than 0 accidently right?

Right, or unless they set it to some jibber-jabber that cannot be converted to a floating point number, which I don't think will happen very often :p

@sophimao sophimao requested a review from zibaiwan March 25, 2024 18:57
@zibaiwan
Copy link
Contributor

Hi Sophie,

Is this planned to go to 2024.2 release?

Thanks,

Zibai

@zibaiwan
Copy link
Contributor

Hi Sophie,

Is this planned to go to 2024.2 release?

Thanks,

Zibai

Chatted with Sophie offline. This will go to Trunk first and then cherry-picked into 2024.2 depends on the full test results. I am reviewing the change, so far looks good to me. Will do a more thorough review and should be done by tomorrow.

zibaiwan
zibaiwan previously approved these changes Mar 27, 2024
Copy link
Contributor

@zibaiwan zibaiwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Sophie!

This change also:
- Determines MMD buffer location support based on MMD verison
- Formally define host pipe side band port id in aocl_mmd.h
- Support querying buffer location on host/shared USM allocation
@sophimao sophimao merged commit dc2a322 into intel:main Apr 1, 2024
@sophimao sophimao deleted the update-mmd-version branch April 1, 2024 13:25
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

Successfully merging this pull request may close these issues.

Query whether the MMD supports buffer_location in shared/host USM allocations API calls
3 participants