Skip to content

DLP: Added version API#2

Closed
abhirams-amd wants to merge 3 commits into
amd:devfrom
abhirams-amd:u/abhirams/pr/version
Closed

DLP: Added version API#2
abhirams-amd wants to merge 3 commits into
amd:devfrom
abhirams-amd:u/abhirams/pr/version

Conversation

@abhirams-amd

Copy link
Copy Markdown
Contributor

This PR should add an API with which we can get version of the library.

@abhirams-amd abhirams-amd left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Some changes required

Comment thread classic/frame/runtime/dlp_runtime.c
abhirams-amd added a commit to abhirams-amd/aocl-dlp-dev that referenced this pull request Sep 19, 2025
This commit addresses amd#2 (comment)

Signed-off-by: Abhiram S <abhiram.s@amd.com>
@abhirams-amd abhirams-amd force-pushed the u/abhirams/pr/version branch 2 times, most recently from f43c36f to e2f7e1d Compare September 19, 2025 14:18
Comment thread classic/frame/runtime/dlp_runtime.c Outdated
dlp_version_query(int* major, int* minor, int* patch)
{
if (major)
*major = atoi(AOCL_DLP_VERSION_MAJOR);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please avoid using atoi to convert string to integer.

Signed-off-by: Abhiram S <abhiram.s@amd.com>
This commit addresses amd#2 (comment)

Signed-off-by: Abhiram S <abhiram.s@amd.com>
Signed-off-by: Abhiram S <abhiram.s@amd.com>
@BhaskarNallani

Copy link
Copy Markdown
Collaborator

We merged in internal repo and will be pushed to public in next dev branch upstreaming.
Thank you for your contribution.

@abhirams-amd

Copy link
Copy Markdown
Contributor Author

Thanks @BhaskarNallani , I will close this PR

@abhirams-amd abhirams-amd deleted the u/abhirams/pr/version branch September 23, 2025 10:48
BhaskarNallani pushed a commit that referenced this pull request Sep 29, 2025
DLP: Added version API
DLP: Remove un-necessary variables
CMake: Change version to literal from string

#2

---------

Signed-off-by: Abhiram S <abhiram.s@amd.com>
BhaskarNallani pushed a commit that referenced this pull request Jan 3, 2026
DLP: Added version API
DLP: Remove un-necessary variables
CMake: Change version to literal from string

#2

---------

Signed-off-by: Abhiram S <abhiram.s@amd.com>
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.

2 participants