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] Reorganized C-API headers #6199

Merged
merged 3 commits into from
Oct 11, 2022

Conversation

PENGUINLIONG
Copy link
Member

As @jim19930609 mentioned before including vulkan headers might be contaminating the user namespaces so this PR removes the include and macro. The users should include vulkan/vulkan.h before taichi/taichi.h.

@netlify
Copy link

netlify bot commented Sep 29, 2022

Deploy Preview for docsite-preview canceled.

Name Link
🔨 Latest commit a7bf80d
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/634538867be7e0000afb8536

Copy link
Contributor

@jim19930609 jim19930609 left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Contributor

@jim19930609 jim19930609 left a comment

Choose a reason for hiding this comment

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

lol, looks like this PR is a mixture of:

  1. Remove third-party dependencies (openGL, Vulkan, ...)
  2. C-api Versioning
  3. code clean up
  4. code formatting

I do think C-API Versioning worth a separate PR, can we at least split that out? The other parts LGTM

@PENGUINLIONG
Copy link
Member Author

lol, looks like this PR is a mixture of:

1. Remove third-party dependencies (openGL, Vulkan, ...)

2. C-api Versioning

3. code clean up

4. code formatting

I do think C-API Versioning worth a separate PR, can we at least split that out? The other parts LGTM

@jim19930609 sounds good. the entire thing breaks compilation heavily so many changes are made. i'll try chopping'm up

@PENGUINLIONG PENGUINLIONG changed the title [aot] Remove vulkan dependency in C-API headers [aot] Reorganized C-API headers Oct 11, 2022
@PENGUINLIONG PENGUINLIONG force-pushed the capi-header1 branch 3 times, most recently from a205972 to a8d5dc6 Compare October 11, 2022 09:01
[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Update taichi.h

Update taichi.h

Reorganized headers

Fixed compilation

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Fixed compilation

Fixed compilation

Fixed compilation

Fixed compilation

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Update taichi.h

Update taichi.h

Reorganized headers

Fixed compilation

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Fixed compilation

Fixed compilation

Fixed compilation

Fixed compilation

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
@PENGUINLIONG PENGUINLIONG merged commit e3aaff8 into taichi-dev:master Oct 11, 2022
@PENGUINLIONG PENGUINLIONG deleted the capi-header1 branch October 11, 2022 12:35
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