Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ Valentin Petrov <[email protected]>
Wenbin Lu <[email protected]>
Xin Zhao <[email protected]>
Xu Yifeng <[email protected]>
Yihua Xu <[email protected]>
Yiltan Hassan Temucin <[email protected]>
Yossi Itigin <[email protected]>
Yuriy Shestakov <[email protected]>
Expand Down
8 changes: 7 additions & 1 deletion src/uct/ib/base/ib_md.c
Original file line number Diff line number Diff line change
Expand Up @@ -1341,6 +1341,12 @@ ucs_status_t uct_ib_md_open_common(uct_ib_md_t *md,
/* check if ROCM KFD driver is loaded */
uct_ib_check_gpudirect_driver(md, "/dev/kfd", UCS_MEMORY_TYPE_ROCM);

#if HAVE_ZE
uct_ib_check_gpudirect_driver(
md, "/sys/module/xe/srcversion",
UCS_MEMORY_TYPE_ZE_DEVICE);
#endif

/* Check for dma-buf support */
uct_ib_md_check_dmabuf(md);
}
Expand All @@ -1349,7 +1355,7 @@ ucs_status_t uct_ib_md_open_common(uct_ib_md_t *md,
!(md->cap_flags & UCT_MD_FLAG_REG_DMABUF) &&
(md_config->enable_gpudirect_rdma == UCS_YES)) {
ucs_error("%s: Couldn't enable GPUDirect RDMA. Please make sure "
"nv_peer_mem or amdgpu plugin installed correctly, or dmabuf "
"nv_peer_mem, amdgpu plugin, or Intel XE driver is installed correctly, or dmabuf "
"is supported.",
uct_ib_device_name(&md->dev));
status = UCS_ERR_UNSUPPORTED;
Expand Down
3 changes: 2 additions & 1 deletion src/uct/ze/copy/ze_copy_md.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ static ucs_status_t uct_ze_copy_md_query(uct_md_h md, uct_md_attr_v2_t *md_attr)
md_attr->alloc_mem_types = UCS_BIT(UCS_MEMORY_TYPE_ZE_HOST) |
UCS_BIT(UCS_MEMORY_TYPE_ZE_DEVICE) |
UCS_BIT(UCS_MEMORY_TYPE_ZE_MANAGED);
md_attr->access_mem_types = UCS_BIT(UCS_MEMORY_TYPE_ZE_HOST) |
md_attr->access_mem_types = UCS_BIT(UCS_MEMORY_TYPE_HOST) |
UCS_BIT(UCS_MEMORY_TYPE_ZE_HOST) |
UCS_BIT(UCS_MEMORY_TYPE_ZE_DEVICE) |
UCS_BIT(UCS_MEMORY_TYPE_ZE_MANAGED);
md_attr->detect_mem_types = UCS_BIT(UCS_MEMORY_TYPE_ZE_HOST) |
Expand Down
Loading