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

[Driver][SYCL] Improve support for -fsycl-link with AOT #12828

Merged
merged 14 commits into from
Mar 8, 2024

Commits on Feb 26, 2024

  1. [Driver][SYCL] Improve support for -fsycl-link with AOT

    Support for -fsycl-link was restricted to only providing device linking
    and providing the final device binary for JIT.  These changes expand on
    that functionality to pull in the ability to also perform offline
    compilation steps to support AOT targets.
    
    Example:
    
      clang++ -fsycl -fsycl-targets=spir64_gen -c file.cpp
      clang++ -fsycl -fsycl-link -fsycl-targets=spir64_gen
              -Xsycl-target-backend "-device skl" file.o -o newfile.o
      clang++ file.o newfile.o -o finalexe
    
    'newfile.o' here is a final device binary for GPU that is wrapped and
    allowed to be linked in as a regular host object.
    
    The changes here are significant, performing adjustments on when the
    device linking occurs within the compilation toolchain within the
    driver.  This improves the general dependency flow, allowing for the
    device linking to occur in a common location for -fsycl-link and normal
    link steps.  Due to this, a number of tests relying on phase checking
    required to be tweaked.
    mdtoguchi committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    9a8c08e View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Configuration menu
    Copy the full SHA
    e014470 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65b1b1c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    37d2299 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Update test

    mdtoguchi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    d733fd5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8581e49 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    87a1084 View commit details
    Browse the repository at this point in the history
  4. Clang format

    mdtoguchi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    cc0b608 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3a71782 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. formatting fix from review

    mdtoguchi committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    03e067b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f4c5ffb View commit details
    Browse the repository at this point in the history
  3. clang format

    mdtoguchi committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    77861c9 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. Configuration menu
    Copy the full SHA
    86cd42c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2f5f53 View commit details
    Browse the repository at this point in the history