Skip to content

Maybe a bug code in repository #81

@gaoren002

Description

@gaoren002

SymmMemObjPtr SymmMemManager::HostMalloc(size_t size, size_t alignment) {
void* ptr = nullptr;
int status = posix_memalign(&ptr, alignment, size);
assert(!status);
memset(ptr, 0, size);
return RegisterSymmMemObj(ptr, size);
}
In RegisterSymmMemObj, it seems calling hipIpcGetMemHandle with a cpu memory pointer, is it suppoted?
the SymmMemManager::HostMalloc has nerver been called now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions