Skip to content

Commit 1ac30ae

Browse files
[SYCL][ESIMD][EMU] Updating kernel-launch API for ESIMD_EMULATOR BE (#6422)
- Kernel launching API for ESIMD_EMULATOR is updated in order to remove dependency on std::vector type - Download URL for pre-built CM_EMU library package is updated accordingly
1 parent 354d057 commit 1ac30ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sycl/plugins/esimd_emulator/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ else()
2222
set(LIBIGFXCMRT_EMU ${LLVM_BINARY_DIR}/pi_esimd_emulator_deps/lib/libigfxcmrt_emu${CMAKE_SHARED_LIBRARY_SUFFIX})
2323
endif()
2424

25-
set (DEFAULT_CM_EMU_PREBUILT_PACKAGE "https://github.com/intel/cm-cpu-emulation/releases/download/v2022-05-06/intel-cmemu-1.0.22.u20.04-release.x86_64.tar.xz")
25+
set (DEFAULT_CM_EMU_PREBUILT_PACKAGE "https://github.com/intel/cm-cpu-emulation/releases/download/v2022-07-06/intel-cmemu-1.0.23.u20.04-release.x86_64.tar.xz")
2626
set (DEFAULT_CM_EMU_SOURCE_URL "https://github.com/intel/cm-cpu-emulation.git")
2727

2828
if ((DEFINED USE_DEFAULT_CM_EMU_SOURCE) OR (DEFINED USE_LOCAL_CM_EMU_SOURCE))

sycl/plugins/esimd_emulator/pi_esimd_emulator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ template <int DIMS> class libCMBatch {
263263
const auto InvokeKernelArg = KernelInvocationContext<DIMS>{
264264
MKernel, LocalSize, GlobalSize, GlobalOffset};
265265

266-
EsimdemuKernel{reinterpret_cast<fptrVoid>(InvokeKernel<DIMS>), GroupDim,
267-
SpaceDim}
266+
EsimdemuKernel{reinterpret_cast<fptrVoid>(InvokeKernel<DIMS>),
267+
GroupDim.data(), SpaceDim.data()}
268268
.launchMT(sizeof(InvokeKernelArg), &InvokeKernelArg);
269269
}
270270
};

0 commit comments

Comments
 (0)