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

[aot] C-API versioning #7050

Merged
merged 4 commits into from
Jan 5, 2023
Merged

Conversation

PENGUINLIONG
Copy link
Member

Issue: #5858

Brief Summary

This PR introduces a versioning mechanism to the Taichi Runtime C-API. Taichi Runtime has the same version as the Python frontend. The version information can be queried from taichi header definition TI_C_API_VERSION, C-API ti_get_version, __version__ in compiled AOT module, and log output when ti_create_runtime is called.

@netlify
Copy link

netlify bot commented Jan 4, 2023

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit 50d4234
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/63b55a19e25a220008b8400e
😎 Deploy Preview https://deploy-preview-7050--docsite-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@PENGUINLIONG PENGUINLIONG linked an issue Jan 5, 2023 that may be closed by this pull request
Copy link
Contributor

@ailzhang ailzhang left a comment

Choose a reason for hiding this comment

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

Awesome!!

@PENGUINLIONG PENGUINLIONG merged commit 39a6a76 into taichi-dev:master Jan 5, 2023
@lin-hitonami lin-hitonami added this to the v1.4.0 milestone Jan 5, 2023
feisuzhu pushed a commit to feisuzhu/taichi that referenced this pull request Jan 5, 2023
Issue: taichi-dev#5858

### Brief Summary

This PR introduces a versioning mechanism to the Taichi Runtime C-API.
Taichi Runtime has the same version as the Python frontend. The version
information can be queried from taichi header definition
`TI_C_API_VERSION`, C-API `ti_get_version`, `__version__` in compiled
AOT module, and log output when `ti_create_runtime` is called.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
Issue: taichi-dev#5858

### Brief Summary

This PR introduces a versioning mechanism to the Taichi Runtime C-API.
Taichi Runtime has the same version as the Python frontend. The version
information can be queried from taichi header definition
`TI_C_API_VERSION`, C-API `ti_get_version`, `__version__` in compiled
AOT module, and log output when `ti_create_runtime` is called.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.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.

C-API versioning discussion
3 participants