Skip to content

[SYCL][Bindless] Extend image copies #16661

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

Merged
merged 7 commits into from
Jan 31, 2025
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion sycl/cmake/modules/FetchUnifiedRuntime.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ if(SYCL_UR_USE_FETCH_CONTENT)
CACHE PATH "Path to external '${name}' adapter source dir" FORCE)
endfunction()

set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git")
set(UNIFIED_RUNTIME_REPO "https://github.com/DBDuncan/unified-runtime.git")
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules/UnifiedRuntimeTag.cmake)

set(UMF_BUILD_EXAMPLES OFF CACHE INTERNAL "EXAMPLES")
Expand Down
2 changes: 1 addition & 1 deletion sycl/cmake/modules/UnifiedRuntimeTag.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# Date: Thu Jan 16 10:17:25 2025 +0000
# Merge pull request #2546 from lukaszstolarczuk/bump-umf-to-latest-main
# [main] Bump UMF to v0.10.1
set(UNIFIED_RUNTIME_TAG 023a84744b7db460d42225c8b5ea4d6def085c81)
set(UNIFIED_RUNTIME_TAG 3c462b4ddcdaef72b9bdf57b5fe18b965c5fad81)

Large diffs are not rendered by default.

350 changes: 322 additions & 28 deletions sycl/include/sycl/ext/oneapi/bindless_images.hpp

Large diffs are not rendered by default.

312 changes: 227 additions & 85 deletions sycl/include/sycl/handler.hpp

Large diffs are not rendered by default.

990 changes: 740 additions & 250 deletions sycl/include/sycl/queue.hpp

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion sycl/source/detail/memory_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1644,7 +1644,8 @@ void MemoryManager::copy_image_bindless(
"Copy image bindless must be called with a valid device queue");
assert((Flags == UR_EXP_IMAGE_COPY_FLAG_HOST_TO_DEVICE ||
Flags == UR_EXP_IMAGE_COPY_FLAG_DEVICE_TO_HOST ||
Flags == UR_EXP_IMAGE_COPY_FLAG_DEVICE_TO_DEVICE) &&
Flags == UR_EXP_IMAGE_COPY_FLAG_DEVICE_TO_DEVICE ||
Flags == UR_EXP_IMAGE_COPY_FLAG_HOST_TO_HOST) &&
"Invalid flags passed to copy_image_bindless.");
if (!Dst || !Src)
throw sycl::exception(
Expand Down
Loading
Loading