Skip to content

Memory allocation with alignment > 64KB is disabled #1537

Open
@Alexandr-Konovalov

Description

@Alexandr-Konovalov

Dear colleagues,

In urUSMHostAlloc() I see the code

  // L0 supports alignment up to 64KB and silently ignores higher values.
  // We flag alignment > 64KB as an invalid value.
  if (Align > 65536)
    return UR_RESULT_ERROR_INVALID_VALUE;

For old version of compute runtime, i.e. intel-level-zero-gpu 1.3.26516.18, such issue definitely exists, but after upgrade to recent intel-level-zero-gpu 1.3.29138.7 it disappeared.

Could you please make a limitation on the level of Unified Runtime less strict? Because right now sycl::aligned_alloc_shared() failed to work for alignment > 64KB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlevel-zeroL0 adapter specific issuesmemoryMemory allocations/transfers/operations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions