intel / intel/llvm

[SYCL][ESIMD][EMU] Memory access (de)serialization for buffer/image/slm

Open
#5,863 0 comments 0 reactions 1 assignee Claimed by @dongkyunahn-intel View on GitHub
bug confirmed
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

In ESIMD_EMULATOR, memory accesses towards buffer/image are serialized in memory_intrin.hpp. This design was imported from CM_EMU's `genx_dataport.h`, but could not reproduce race condition under CPU emulation.

https://github.com/intel/cm-cpu-emulation/blob/f9d167edbcb995e713d5a832f9ee2afae9a526a6/libcm/genx_dataport.h#L4285

Meanwhile, there is no serialization applied to memory accesses towards SLM. This design is also imported from CM_EMU.

This design needs to be reviewed and verified.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.