v1.5.0 (2026-10-22)

Download

Important Notes

mu_lib
  • MU Library: Build MU kernels that use the MU Library with pxcc. See the pxcc section.
pxcc
  • pxcc is now the official compiler of the XCENA SDK. Use pxcc to build both host code and MU kernel code. For usage, see the SDK manual, pxcc --manual, or pxcc --help.
sdk
  • SDK: Build MU kernels with pxcc. See the pxcc section.

New

mu_lib
  • MU: Added an NDArray constructor that takes the number of dimensions explicitly, for shapes whose last dimension has length zero.
pxl
  • PXL: Added an NDArray constructor with an explicit dimension count to preserve trailing zero-length dimensions, which the existing ShapeArray constructors cannot distinguish from unused entries.
  • PXL: Added discardMemory() and Python discard_memory() to discard InfiniteMemory ranges on supported firmware.
  • PXL: Added Job::setMuCoreCountPerSub() to limit the number of MU cores used per Sub by a Job on supported firmware. Configure the limit before creating any Maps.

Changed

pxcc
  • MU kernels built with pxcc now run faster. Three kinds of code gain the most:
    • Loops whose iteration count is known at compile time. pxcc now partially unrolls such loops.
    • Code that multiplies 32-bit integers. pxcc now generates a faster instruction for such a multiplication.
    • Loops that call small functions. pxcc now inlines more of these calls.
pxl
  • PXL: Map now returns Result::InvalidArgument when a 1-D NDArray’s element count is not divisible by the task count, preventing silently skipped elements or empty per-task slices.
  • PXL: NDArray(void*, ShapeArray, elemSize) throws std::invalid_argument for a non-positive elemSize instead of dividing by zero.
  • PXL: Exceptions thrown by user callbacks are now logged and contained by the library.
  • PXL: Map::cancel() now returns DeviceError when the execution it waits for fails. Calls made after completion is recorded still return Success; check getExecuteStatus() before re-executing the Map.

Fixed

mu_lib
  • MU: An NDArray built from a ShapeArray now keeps zero-length dimensions ({4, 0, 3} reports 3 dimensions instead of 2), and operator[] keeps them in the subarray.
mxdriver_dev
  • MX Driver: Fixed module build failures on Linux 6.12 and 6.13 by correcting the device_find_child() callback version boundary to Linux 6.14.
pxl
  • PXL: Fixed ShapeArray-based NDArrays dropping zero-length dimensions before the last nonzero dimension, including leading zeros such as {0, N}. Subarrays and per-task slices now preserve their dimension counts.
  • PXL: Fixed empty NDArray arguments being rejected on non-CXL devices and empty NDArray outputs causing completion errors with IoMem or non-CXL AdaptiveIoMem.
  • PXL: Fixed deadlocks caused by teardown requests from user callbacks. Depending on the API and callback context, teardown may be deferred or rejected and require a retry from outside the callback.
  • PXL: Fixed a crash when tracing a Job that contains a Map which has never been executed.
sdk
  • Example: vector_with_ndarray –ndarraydata no longer crashes; it looks up the NDArrayData kernels by their registered names.
xprofiler
  • Xprofiler: Fixed excessive report size and memory usage when analyzing profiles with long-running tasks, which could cause report generation to run out of memory.

Docker Image

  • Image Name: xcenadev/sdk:v1.5.0
  • Pull Command:

    docker pull xcenadev/sdk:v1.5.0