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

[refactor] Introduce KernelCompilationManager #7409

Merged

Conversation

PGZXB
Copy link
Contributor

@PGZXB PGZXB commented Feb 21, 2023

Issue: #7002, #4401

Brief Summary

This PR:

  1. Introduced KernelCompilationManager to unify implementation of the Offline Cache;
  2. Used KernelCompilationManager re-impl JIT, Offline Cache on gfx backends (vulkan, metal, dx11, opengl);
  3. Removed the gfx::CacheManager.

@netlify
Copy link

netlify bot commented Feb 21, 2023

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit 6ecd751
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/63f6025310d2e300072d8c50
😎 Deploy Preview https://deploy-preview-7409--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.

@PGZXB PGZXB marked this pull request as draft February 21, 2023 05:37
@PGZXB PGZXB marked this pull request as ready for review February 22, 2023 06:18
Copy link
Member

@PENGUINLIONG PENGUINLIONG left a comment

Choose a reason for hiding this comment

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

otherwise lgtm, please wait for @ailzhang for a final revision.

taichi/com_mgr/kernel_compilation_manager.cpp Outdated Show resolved Hide resolved
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!! Put a few minor questions inline ;)

taichi/com_mgr/kernel_compilation_manager.cpp Outdated Show resolved Hide resolved
taichi/com_mgr/kernel_compilation_manager.h Outdated Show resolved Hide resolved
taichi/program/program_impl.cpp Show resolved Hide resolved
taichi/com_mgr/CMakeLists.txt Outdated Show resolved Hide resolved
@PGZXB PGZXB requested a review from ailzhang February 22, 2023 11:55
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.

Thanks!!

@PENGUINLIONG PENGUINLIONG merged commit 5562ef8 into taichi-dev:master Feb 23, 2023
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
Issue: taichi-dev#7002, taichi-dev#4401

### Brief Summary
This PR:
1. Introduced `KernelCompilationManager` to unify implementation of the
Offline Cache;
2. Used `KernelCompilationManager` re-impl JIT, Offline Cache on gfx
backends (vulkan, metal, dx11, opengl);
3. Removed the `gfx::CacheManager`.

---------

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.

3 participants