Skip to content

Commit 59c4150

Browse files
authored
Merge pull request #688 from lukaszstolarczuk/fixes-for-rc4
Another fixes for rc4
2 parents 363e6a4 + 5ccf12b commit 59c4150

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ elseif(NOT UMF_DISABLE_HWLOC)
172172
add_custom_command(
173173
COMMAND
174174
./configure --prefix=${hwloc_targ_BINARY_DIR} --enable-static=yes
175-
--enable-shared=no --disable-libxml2 --disable-levelzero
176-
--disable-opencl --disable-cuda --disable-nvml CFLAGS=-fPIC
177-
CXXFLAGS=-fPIC
175+
--enable-shared=no --disable-libxml2 --disable-pciaccess
176+
--disable-levelzero --disable-opencl --disable-cuda --disable-nvml
177+
CFLAGS=-fPIC CXXFLAGS=-fPIC
178178
WORKING_DIRECTORY ${hwloc_targ_SOURCE_DIR}
179179
OUTPUT ${hwloc_targ_SOURCE_DIR}/Makefile
180180
DEPENDS ${hwloc_targ_SOURCE_DIR}/configure)

src/provider/provider_level_zero.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ static umf_result_t ze_memory_provider_alloc(void *provider, size_t size,
167167
.pNext = NULL,
168168
.flags = 0};
169169
ze_device_mem_alloc_desc_t dev_desc = {
170-
.stype = ZE_STRUCTURE_TYPE_HOST_MEM_ALLOC_DESC,
170+
.stype = ZE_STRUCTURE_TYPE_DEVICE_MEM_ALLOC_DESC,
171171
.pNext = NULL,
172172
.flags = 0,
173173
.ordinal = 0 // TODO

0 commit comments

Comments
 (0)