Skip to content

Implement clGetMemAllocInfoINTEL() for shared/host USM allocations #143

Open
@pcolberg

Description

@pcolberg

For clDeviceMemAllocINTEL(), commit f79a9c2 includes a unit test that queries and verifies the buffer location using clGetMemAllocInfoINTEL(). However, the buffer location is stored within a cl_mem struct, which is populated in clDeviceMemAllocINTEL() but not in clHostMemAllocINTEL() and clSharedMemAllocINTEL(). I wonder if we should add a mem_id field to acl_usm_allocation_t to persist the buffer location for later query?

#141 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions