C programming + CXL

I’m experimenting with CXL and trying to understand how to use it as shared memory between two different hosts/instances. My goal is to write a small C program/script where:

  • Instance A writes data into CXL memory
  • Instance B reads that same data from the shared CXL memory pool

Ideally from user space (no kernel module).

Does anyone know of any sample code, libraries, or documentation that shows how to mmap() or otherwise access CXL memory from user space?

2 Likes

This topic was automatically closed 273 days after the last reply. New replies are no longer allowed.