Skip to content

Commit fe8bad3

Browse files
committed
Merge remote-tracking branch 'upstream/sycl' into urlog
2 parents 146e801 + ca2af37 commit fe8bad3

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

.github/workflows/ur-source-checks.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
if: matrix.os == 'ubuntu-22.04'
3434
run: |
3535
sudo apt-get update
36-
sudo apt-get install -y doxygen
36+
sudo apt-get install -y doxygen libhwloc-dev
3737
3838
- name: "[Win] Install doxygen"
3939
if: matrix.os == 'windows-2022'
@@ -53,7 +53,6 @@ jobs:
5353
-DCMAKE_BUILD_TYPE=Debug
5454
-DUR_BUILD_TESTS=OFF
5555
-DUR_FORMAT_CPP_STYLE=ON
56-
-DUMF_DISABLE_HWLOC=ON
5756
5857
# Verifying license should be enough on a single OS
5958
- name: Verify that each source file contains a license

llvm/lib/SYCLLowerIR/ESIMD/ESIMDVerifier.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ class BuffDeleter {
9797
BuffDeleter() = delete;
9898
BuffDeleter(const BuffDeleter &) = delete;
9999
BuffDeleter(BuffDeleter &&) = delete;
100+
BuffDeleter &operator=(BuffDeleter &) = delete;
101+
BuffDeleter &operator=(BuffDeleter &&) = delete;
100102

101103
private:
102104
char *Buff;

sycl/cmake/modules/FetchUnifiedRuntime.cmake

-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ if(IS_DIRECTORY "${UR_INTREE_SOURCE_DIR}")
8787
if(WIN32)
8888
set(UMF_BUILD_SHARED_LIBRARY OFF CACHE INTERNAL "Build UMF shared library")
8989
set(UMF_LINK_HWLOC_STATICALLY ON CACHE INTERNAL "static HWLOC")
90-
else()
91-
set(UMF_DISABLE_HWLOC ${SYCL_UMF_DISABLE_HWLOC} CACHE INTERNAL "Disable hwloc for UMF")
9290
endif()
9391
add_subdirectory(${UNIFIED_RUNTIME_SOURCE_DIR} ${UR_INTREE_BINARY_DIR})
9492
elseif(SYCL_UR_USE_FETCH_CONTENT)

unified-runtime/source/adapters/cuda/common.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ void checkErrorUR(nvmlReturn_t Result, const char *Function, int Line,
9595
<< "\n\tDescription: " << ErrorString
9696
<< "\n\tFunction: " << Function << "\n\tSource Location: " << File
9797
<< ":" << Line << "\n";
98-
logger::error("{}", SS.str());
98+
URLOG(ERR, "{}", SS.str());
9999

100100
if (std::getenv("PI_CUDA_ABORT") != nullptr ||
101101
std::getenv("UR_CUDA_ABORT") != nullptr) {

unified-runtime/source/loader/layers/sanitizer/tsan/tsan_buffer.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ ur_result_t MemBuffer::getHandle(ur_device_handle_t Device, char *&Handle) {
105105
Size, AllocType::DEVICE_USM,
106106
ur_cast<void **>(&Allocation));
107107
if (URes != UR_RESULT_SUCCESS) {
108-
URLOG_CTX(ERR, "Failed to allocate {} bytes memory for buffer {}",
109-
Size, this);
108+
URLOG_CTX(ERR, "Failed to allocate {} bytes memory for buffer {}", Size,
109+
this);
110110
return URes;
111111
}
112112

unified-runtime/source/loader/layers/sanitizer/tsan/tsan_interceptor.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,7 @@ ur_result_t TsanInterceptor::prepareLaunch(std::shared_ptr<ContextInfo> &,
294294
ur_result_t URes = getContext()->urDdiTable.Kernel.pfnSetArgPointer(
295295
Kernel, ArgIndex, nullptr, ArgPointer);
296296
if (URes != UR_RESULT_SUCCESS) {
297-
URLOG_CTX(ERR,
298-
"Failed to set buffer {} as the {} arg to kernel {}: {}",
297+
URLOG_CTX(ERR, "Failed to set buffer {} as the {} arg to kernel {}: {}",
299298
ur_cast<ur_mem_handle_t>(MemBuffer.get()), ArgIndex, Kernel,
300299
URes);
301300
}

0 commit comments

Comments
 (0)