File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
sycl/plugins/esimd_emulator Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -64,17 +64,15 @@ else ()
6464 message (FATAL_ERROR "Online-building of CM_EMU library is not supported under Windows environment" )
6565 else ()
6666 # Arguments for online patching to suppress log message from CM_EMU
67- # 1. Replacing CM_EMU's log print-out macro controlled by 'GFX_EMU_WITH_FLAGS_'
68- # with blank space from $CM_EMU_SRC/common/emu_log.h
67+ # Replacing CM_EMU's log print-out macro controlled by 'GFX_EMU_WITH_FLAGS_'
68+ # with blank space from $CM_EMU_SRC/common/emu_log.h
6969 set (replacing_pattern s/{\ ?GFX_EMU_WITH_FLAGS_.*//g)
70- # 2. Range of lines to be removed printing out unnecessary log messages
71- # from $CM_EMU_SRC/libcmrt/cm_device_emumode.cpp
72- set (removed_range 130,132d)
7370 ExternalProject_Add(cm-emu
7471 GIT_REPOSITORY https://github.com/intel/cm-cpu-emulation.git
72+ GIT_TAG c19234cea13bdfc32b5ed9
7573 BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR} /cm-emu_build
7674 INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR} /cm-emu_install
77- PATCH_COMMAND perl -pi.back -e ${replacing_pattern} ${CMAKE_CURRENT_BINARY_DIR} /cm-emu-prefix /src/cm-emu/common/emu_log.h && sed --in-place ${removed_range} ${CMAKE_CURRENT_BINARY_DIR} /cm-emu- prefix /src/cm-emu/libcmrt/cm_device_emumode.cpp
75+ PATCH_COMMAND perl -pi.back -e ${replacing_pattern} ${CMAKE_CURRENT_BINARY_DIR} /cm-emu-prefix /src/cm-emu/common/emu_log.h
7876 CMAKE_ARGS -DLIBVA_INSTALL_PATH=/usr
7977 -D__SYCL_EXPLICIT_SIMD_PLUGIN__=true
8078 -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
Original file line number Diff line number Diff line change 2929#include < CL/sycl/range.hpp>
3030
3131// TODO : Rename esimdcpu to esimdemu for next CM_EMU release
32- #include < esimdcpu_support .h>
32+ #include < esimdemu_support .h>
3333
3434#include < cstdarg>
3535#include < cstdio>
@@ -249,9 +249,7 @@ template <int DIMS> class libCMBatch {
249249 GroupDim[I] = (uint32_t )(GlobalSize[I] / LocalSize[I]);
250250 }
251251
252- // TODO : Replace ESimdCPUKernel with EsimdemuKernel for next
253- // CM_EMU release
254- ESimdCPUKernel Esimdemu ((fptrVoid)InvokeLambda<DIMS>, GroupDim, SpaceDim);
252+ EsimdemuKernel Esimdemu ((fptrVoid)InvokeLambda<DIMS>, GroupDim, SpaceDim);
255253
256254 Esimdemu.launchMT (sizeof (struct LambdaWrapper <DIMS>), WrappedLambda.get ());
257255 }
You can’t perform that action at this time.
0 commit comments