From 883c3e5fa7263ec2f8072fd0fef172b07e6ee9d2 Mon Sep 17 00:00:00 2001 From: "Ahn, Dongkyun" Date: Mon, 11 Jul 2022 11:41:40 -0700 Subject: [PATCH] [SYCL][ESIMD][EMU] Updating kernel-launch API for ESIMD_EMULATOR BE - 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 --- sycl/plugins/esimd_emulator/CMakeLists.txt | 2 +- sycl/plugins/esimd_emulator/pi_esimd_emulator.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sycl/plugins/esimd_emulator/CMakeLists.txt b/sycl/plugins/esimd_emulator/CMakeLists.txt index 668320e60e698..13f686bbb2781 100755 --- a/sycl/plugins/esimd_emulator/CMakeLists.txt +++ b/sycl/plugins/esimd_emulator/CMakeLists.txt @@ -22,7 +22,7 @@ else() set(LIBIGFXCMRT_EMU ${LLVM_BINARY_DIR}/pi_esimd_emulator_deps/lib/libigfxcmrt_emu${CMAKE_SHARED_LIBRARY_SUFFIX}) endif() -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") +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") set (DEFAULT_CM_EMU_SOURCE_URL "https://github.com/intel/cm-cpu-emulation.git") if ((DEFINED USE_DEFAULT_CM_EMU_SOURCE) OR (DEFINED USE_LOCAL_CM_EMU_SOURCE)) diff --git a/sycl/plugins/esimd_emulator/pi_esimd_emulator.cpp b/sycl/plugins/esimd_emulator/pi_esimd_emulator.cpp index 6b0992726d3ee..917ee67b4446b 100644 --- a/sycl/plugins/esimd_emulator/pi_esimd_emulator.cpp +++ b/sycl/plugins/esimd_emulator/pi_esimd_emulator.cpp @@ -263,8 +263,8 @@ template class libCMBatch { const auto InvokeKernelArg = KernelInvocationContext{ MKernel, LocalSize, GlobalSize, GlobalOffset}; - EsimdemuKernel{reinterpret_cast(InvokeKernel), GroupDim, - SpaceDim} + EsimdemuKernel{reinterpret_cast(InvokeKernel), + GroupDim.data(), SpaceDim.data()} .launchMT(sizeof(InvokeKernelArg), &InvokeKernelArg); } };