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

[L0] Only Override max allocation limits given env #1245

Merged
merged 1 commit into from
Jan 17, 2024

Commits on Jan 12, 2024

  1. [L0] Only Override max allocation limits given env

    - Change the defaults from always allowing > 4GB allocations to making the user have to request > 4GB
      allocation support given the max allocation allowed on that system is less than 4GB.
    - This ensures performance is maintained on systems that dont handle > 4GB allocations natively and
      avoids breaking Ahead of Time (AOT) binaries that were built without > 4GB resource support.
    - By setting UR_L0_ENABLE_RELAXED_ALLOCATION_LIMITS=1 , the L0 Adapter
      will force the modules to be built with stateless or > 4GB support and
      will allow for the allocations to exceed the max single allocation size limit
      for that device.
    
    Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
    nrspruit committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    0ebaca6 View commit details
    Browse the repository at this point in the history