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

[WIP] Use the DpexTargetContext inside dpjit #1027

Closed
wants to merge 4 commits into from

Commits on Jul 11, 2023

  1. Enable usage of DpexTargetContext for dpjit.

        - Moved all dpnp overload and intrinsic functions
          into the dpex target.
        - The dpjit decorator now uses the DpexTargetContext
          instead of the CPUTarget.
        - All initialization of the DpjitDispatcher now do a
          target_override to "dpex".
    diptorupd committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    f1f2d49 View commit details
    Browse the repository at this point in the history
  2. Do a target override before calling PreParfor pass.

        - The PreParfor pass can invoke NumPy overloads such as
          numpy.dtype. The changes here introduced a dpex-specific
          PreParfor pass that runs the upstream pass after doing a
          target override to the dpex target.
    diptorupd committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    1040082 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a4b2d02 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8c480da View commit details
    Browse the repository at this point in the history