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

[Texture support][Part 0] Device API and runtime support #7711

Merged
merged 27 commits into from
Jun 5, 2021
Merged

[Texture support][Part 0] Device API and runtime support #7711

merged 27 commits into from
Jun 5, 2021

Commits on May 18, 2021

  1. Configuration menu
    Copy the full SHA
    7c517db View commit details
    Browse the repository at this point in the history
  2. Add runtime optimized caching allocator.

    This should be replaced with AOT memory planning
    when the relay/tir/compile engine refactor lands.
    csullivan committed May 18, 2021
    Configuration menu
    Copy the full SHA
    2932a30 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    523688f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c5fdc97 View commit details
    Browse the repository at this point in the history
  5. Update OpenCL DeviceAPI to support Image2D data space

    allocations and copying to/from host/image2d directly.
    Allocation employs a lowering convention to 2d images
    for activations and weights.
    csullivan committed May 18, 2021
    Configuration menu
    Copy the full SHA
    6134525 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    862d52a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d641f80 View commit details
    Browse the repository at this point in the history
  8. Move Nd to 2d lowering convention code into runtime texture

    utilities that can be shared by codegen and the runtime.
    csullivan committed May 18, 2021
    Configuration menu
    Copy the full SHA
    99d0740 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3f2c5b2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a5c9f8e View commit details
    Browse the repository at this point in the history
  11. Remove FreeTexture

    csullivan committed May 18, 2021
    Configuration menu
    Copy the full SHA
    fa771d2 View commit details
    Browse the repository at this point in the history
  12. Fix ICHECK comment

    csullivan committed May 18, 2021
    Configuration menu
    Copy the full SHA
    f6ca66c View commit details
    Browse the repository at this point in the history
  13. Partial cherry pick from @ZihengJiang

    git@github.com:ZihengJiang/tvm.git:52822c5bd
    [RUNTIME] OpenCL texture memory.
    ZihengJiang authored and csullivan committed May 18, 2021
    Configuration menu
    Copy the full SHA
    3c38800 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b6b8ec8 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    83cd18d View commit details
    Browse the repository at this point in the history
  16. Add OpenCLBuffer structure to track

    memory layout through OpenCL Device API.
    csullivan committed May 18, 2021
    Configuration menu
    Copy the full SHA
    1cb2606 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    03c2cac View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    32bd0eb View commit details
    Browse the repository at this point in the history
  19. Implement OpenCL CopyDataFromTo(DLTensor*...)

    overload and tensor shapes to calculate image extent
    when copying date directly to or from texture cache.
    csullivan committed May 18, 2021
    Configuration menu
    Copy the full SHA
    c1f993b View commit details
    Browse the repository at this point in the history
  20. Update format (cpp-lint)

    csullivan committed May 18, 2021
    Configuration menu
    Copy the full SHA
    938c1ea View commit details
    Browse the repository at this point in the history
  21. Update format (clang)

    csullivan committed May 18, 2021
    Configuration menu
    Copy the full SHA
    1087b9e View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    515b2aa View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    238ef4a View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    d402cd8 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    89c9de9 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2021

  1. Add test coverage for copying in and out

    of storage allocs of texture scope.
    csullivan committed May 29, 2021
    Configuration menu
    Copy the full SHA
    d12c4f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe9a836 View commit details
    Browse the repository at this point in the history