XCENA Software Development Kit

The XCENA Software Development Kit (SDK) provides libraries and tools for running computation on XCENA devices. Compute Express Link (CXL) connects the host to the device’s memory. A device kernel is a function that runs on the device’s memory execution units (MUs). The host application allocates device memory and launches kernels through the Parallel Xceleration Library (PXL).

Use pxcc++ to compile C++ host code and device kernels into one executable.

Start here

Follow these three steps to build and run an application.

  1. Read PXL Key Concepts for device resources and kernel execution.
  2. Follow Installation for hardware or emulator setup.
  3. Build Hello Sort to compile and run a device sorting application.

Software components

The SDK includes eight main components.

  1. Host applications allocate input and output buffers and submit kernel launches.
  2. Device kernels perform the computation on MU cores.
  3. pxcc is the heterogeneous compiler, and it builds host code and device kernels from one project.
  4. PXL allocates device resources and synchronizes kernel execution.
  5. Linux drivers expose device control and memory allocation to the runtime.
  6. Command-line tools report device information and collect diagnostic data.
  7. MXPerfSim estimates memory-access performance from execution traces.
  8. The emulator runs a virtual device for development without XCENA hardware.

SDK software components

Device computation and memory

XCENA groups MU cores into clusters and subsystems, called Subs. A PXL Job reserves Subs for kernel execution. The runtime then distributes the kernel’s tasks across the available cores. See Device Topology for the resource hierarchy.

Device kernels access data in device memory. The host must make its input writes visible before kernel execution and wait for completion before reading output. PXL provides buffer registration and directional kernel parameters for this synchronization. See Kernel Execution for the rules that apply to each memory type.

Host and device memory architecture Computational memory architecture

Support

Use Troubleshooting to diagnose installation or execution failures. For questions and discussion, see XCENA Community.

License

XCENA distributes the SDK under the Apache-2.0 license.