Type
Company
Locations
Edinburgh, United Kingdom

Latest Publications

  • Open Access

    A Novel Optimization Framework for fNIRS: Enhancing Brain Image Reconstruction for Neurorehabilitation

    by Yunyi Zhao, Uwe Dolinsky, Hubin Zhao, Shufan Yang

    Functional near-infrared spectroscopy (fNIRS) is a non-invasive neuroimaging technique that provides valuable insights into brain activity by measuring haemodynamic changes in blood oxygenation. Despite its potential, the accuracy of fNIRS-based brain image reconstruction is often compromised by motion artefacts. While conventional adaptive signal processing methods can be employed to remove these artefacts, neural networks have demonstrated a more effective alternative. However, traditional neural networks typically have substantial computational and memory requirements, making them unsuitable for resource-constrained wearable platforms. In this study, we propose an optimisation framework for neural network processing specifically designed for wearable devices to enhance the clarity and reliability of fNIRS brain images. Through systematic evaluation and integrate of various datasets on resource limited computing platform, we establish a standardised a standardised proceeding pipeline that can be applied across various fNIRS datasets. The proposed framework is validated on three datasets, demonstrating significant improvements in signal quality and image reconstruction accuracy, while achieving a 24% reduction in memory footprint optimisation. Our findings suggest that adopting a universal preprocessing optimisation strategy could standardise fNIRS data analysis for wearable devices, enabling more consistent and interpretable results across studies. This advancement contributes to the broader application of fNIRS in clinical and neurorehabilitation research, make real-time neuroimaging more feasible and effective.


  • Open Access

    Segmentation of Drone Collision Hazards in Airborne RADAR Point Clouds Using PointNet

    by Hector Arroyo, Paul Keir, Dylan Angus, Santiago Matalonga, Svetlozar Georgiev, Mehdi Goli, Gerard Dooly, James Riordan

    The integration of drones into shared airspace for beyond visual line of sight (BVLOS) operations presents significant challenges but holds transformative potential for sectors like transportation, construction, energy and defence. A prerequisite for this integration is equipping drones with enhanced situational awareness to ensure collision avoidance and safe operations. Current approaches mainly target single object detection or classification, or simpler sensing outputs that offer limited perceptual understanding and lack the rapid end-to-end processing needed to convert sensor data into safety-critical insights. In contrast, our study leverages radar technology for novel end-to-end semantic segmentation of aerial point clouds to simultaneously identify multiple collision hazards. By adapting and optimizing the PointNet architecture and integrating aerial domain insights, our framework distinguishes five distinct classes: mobile targets like drones (DJI M300 and DJI Mini) and airplanes (Ikarus C42), and static returns (ground and infrastructure) which results in enhanced situational awareness for drones. To our knowledge, this is the first approach addressing simultaneous identification of multiple collision threats in an aerial setting, achieving a robust 94% accuracy. This work highlights the potential of radar technology to advance situational awareness in drones, facilitating safe and efficient BVLOS operations.


  • Open Access

    On Demand Specialization of SYCL Kernels with Specialization Constant Length Allocations (SCLA)

    by Víctor Pérez, Victor Lomüller, Lukas Sommer, Julian Oppermann, Romain Biessy, Tadej Ciglarič, Mehdi Goli

  • Open Access

    Extending SYCL host_task for Asynchronous Interop

    by Hugh Delaney, Nicolas Miller, Gordon Brown, Tadej Ciglaric

    SYCL 2020 provides a host_task feature [1], whereby arbitrary C++ functions can be invoked as a node within the SYCL Directed Acyclic Graph (DAG). This feature is useful for interleaving host code between SYCL kernels and other commands, as well as for interoperability with SYCL backend APIs such as OpenCL or CUDA. However, the current host_task facility that is provided has some significant limitations for interop work, making it integrate poorly with the asynchrony of the SYCL execution model. These limitations can hinder the performance of SYCL libraries and applications which use host_tasks for interoperability, such as oneMKL or oneDNN. This article introduces experimental APIs that aim to integrate the asynchrony of the SYCL runtime with the asynchrony of backend APIs such as CUDA, HIP or OpenCL. Special emphasis will be given to the new synchronization behaviour of the SYCL runtime that results from these extensions. Preliminary performance results are presented, showing that host_task interop using the experimental APIs introduced can give a significant speedup over host_task interop which only relies on core SYCL 2020 features.


  • Open Access

    Building a Reusable and Extensible Automatic Compiler Infrastructure for Reconfigurable Devices

    by Zhenya Zang, Uwe Dolinsky, Pietro Ghiglio, Stefano Cherubin, Mehdi Goli, Shufan Yang

    Multi-Level Intermediate Representation (MLIR) is gaining increasing attention in reconfigurable hardware communities due to its capability to represent various abstract levels for software compilers. This project aims to be the first to provide an end-to-end framework that leverages open-source, cross-platform compilation technology to generate MLIR from SYCL. Additionally, it aims to explore a lowering pipeline that converts MLIR to RTL using open-source hardware intermediate representation (IR) and compilers. Furthermore, it aims to couple the generated hardware module with the host CPU using vendor-specific crossbars. Our preliminary results demonstrated the feasibility of lowering customized MLIR to RTL, thus paving the way for an end-to-end compilation.

  • Improving performance of SYCL applications on CPU architectures using LLVM‐directed compilation flow

    by Pietro Ghiglio, Uwe Dolinsky, Mehdi Goli, Kumudha Narasimhan

    Summary: The wide adoption of SYCL as an open‐standard API for accelerating C++ software in domains such as HPC, automotive, artificial intelligence, machine learning, and other areas necessitates efficient compiler and runtime support for a growing number of different platforms. Existing SYCL implementations provide support for various devices like CPUs, GPUs, DSPs, FPGAs and so forth, typically via OpenCL or CUDA backends. While accelerators have increased the performance of user applications significantly, employing CPU devices for further performance improvement is beneficial due to the significant presence of CPUs in existing data‐centers. SYCL applications on CPUs, currently go through an OpenCL backend. Though an OpenCL backend is valuable in supporting accelerators, it may introduce additional overhead for CPUs since the host and device are the same. Overheads like a run‐time compilation of the kernel, transferring of input/output memory to/from the OpenCL device, invoking the OpenCL kernel and so forth, may not be necessary when running on the CPU. While some of these overheads (such as data transfer) can be avoided by modifying the application, it can introduce disparity in the SYCL application's ability to achieve performance portability on other devices. In this article, we propose an alternate approach to running SYCL applications on CPUs. We bypass OpenCL and use a CPU‐directed compilation flow, along with the integration of whole function vectorization to generate optimized host and device code together in the same translation unit. We compare the performance of our approach—the CPU‐directed compilation flow, with an OpenCL backend for existing SYCL‐based applications, with no code modification for BabelStream benchmark, Matmul from the ComputeCpp SDK, N‐body simulation benchmarks and SYCL‐BLAS (Aliaga et al. Proceedings of the 5th International Workshop on OpenCL; 2017.), on CPUs from different vendors and architectures. We report a performance improvement of up to on BabelStream benchmarks, up to on Matmul, up to on the N‐body simulation benchmark and up to 16% on SYCL‐BLAS.


  • Open Access

    Edge Acceleration for Machine Learning-based Motion Artifact Detection on fNIRS Dataset

    by Yunyi Zhao, Yunjia Xia, Rui Loureiro, Hubin Zhao, Uwe Dolinsky, Shufan Yang

  • Open Access

    Technical Talk: A SYCL Extension for User-Driven Online Kernel Fusion

    by Victor Perez, Lukas Sommer, Victor Lomüler, Kumudha Narasimhan, Mehdi Goli

  • Open Access

    What’s New in SYCL for Safety Critical Systems

    by Erik Tomusk, Verena Beckham

    In April 2022, Codeplay and CoreAVI initiated the SYCL SC Exploratory Forum within Khronos to evaluate industry interest in a new Khronos API based on SYCL and targeted at safety-critical industries[1]. A year later, we take stock of the progress the Exploratory Forum has made on defining SYCL for Safety-Critical Systems, and we share some of the insights we have gained. Safety-critical industries, like avionics, automotive, nuclear, and rail, require their software to be compliant to safety standards such as ISO 26262, ISO 21448/SOTIF, DO-178C, and UL4600, as well as to adhere to guidelines such as those defined by AUTOSAR and MISRA. While safety-critical industries have traditionally been cautious about adopting new or unproven technologies, interest by these industries in C++ and heterogeneous programming has increased significantly in recent years. This is driven, in large part, by the need for AI technologies to implement advanced features, such as autonomous behavior. Compute-heavy workloads like AI require high-level programming frameworks as well as considerable computing power, which can only be achieved by a heterogeneous system design. SYCL’s single-source C++ programming model has already become popular in the HPC industry. The proposed SYCL for Safety-Critical Systems API aims to open up high-level heterogeneous compute to safety-critical industries by introducing modifications and extensions to SYCL to make both SYCL applications and SYCL implementations easier to certify to industry safety standards. In this talk, we will give an overview of what certification to a safety standard implies for a compiler and runtime based on SYCL. Khronos Exploratory Forums are designed to be open to companies and individuals who are not yet Khronos participants. A key aim of the SYCL SC Exploratory Forum was to hear from “end-user” companies in safety-critical domains, and to evaluate the market for a safety-critical API based on SYCL. The talk will give an overview of the companies that participated and their general feedback. In the initial phase, the SYCL SC Exploratory Forum heard presentations from its participants and collated a “wish list” of features for a high-level heterogeneous compute API. The talk will give an overview of features that were requested and a discussion of some of the more interesting points. In the second stage, the members of the Forum analyzed these “wishes” according to their relevance to a safety-critical standard specifically based on SYCL. A list of core requirements for the SYCL for Safety-Critical Systems API was distilled from the wish list and will act as a guide during the definition of the new standard. The talk will include an overview of the requirements, background on the finer technical points, and some of the technical discussions that were had around these topics. The presentation will also describe some of the open questions that are still to be answered during the design of the SYCL for Safety-Critical Systems API. The presentation will close with a call to join the discussions and help define the details of this new standard, which promises to open up the SYCL programming model to safety-critical industries.


  • Open Access

    Leveraging MLIR for Better SYCL Compilation (Poster)

    by Victor Perez, Ettore Tiotto, Whitney Tsang, Arnamoy Bhattacharyya, Lukas Sommer, Victor Lomüller, Jefferson Le Quellec, James Brodman

    Recent years have raised awareness of the fact that many optimizing C++ compilers, such as Clang/LLVM, miss optimization opportunities due to the lack of a suitable high-level intermediate representation. The typical compilation flow of such a compiler would lower from a representation close to the original or pre-processed source code, e.g., an abstract syntax tree (AST), directly to a low-level, CFG- and SSA-based intermediate representation such as LLVM IR. However, this lowering loses much of the high-level information and structure of the original source code as it cannot always be represented accurately in the low-level intermediate representation. Compiler optimization passes working on this low-level IR try to recover relevant parts of the high-level information (e.g., loops) and programmer’s intent to optimize the code. If they fail to recover the necessary information, important optimization opportunities might be missed. This insight about loss of high-level information in compilers has driven the creation of the MLIR framework. The MLIR framework, through its core abstraction called “dialect”, enables the creation of a set of multiple intermediate representations capturing high-level semantics and domain-specific information. The progressive lowering process from source code to executable then happens in much smaller steps and allows optimization passes to operate at the appropriate level of abstraction to leverage high-level information. With SYCL being strongly based on C++, SYCL compilers likewise suffer from the same problem as current C++ compilers, which naturally raises the question of whether the MLIR framework can be used to improve SYCL compilation. Our poster will present important insights from our ongoing investigation into this question. It will present an overview of an architecture for an MLIR-based SYCL compiler, demonstrating how MLIR can be integrated into the typical compilation flow for SYCL applications and how the resulting compilation output interacts with existing SYCL runtime implementations. The poster will also report on the status of an ongoing collaboration project between Codeplay and Intel, developing an MLIR-based SYCL compiler as an open-source project based on Intel’s existing DPC++ SYCL compiler and runtime implementation. At the time of writing, the MLIR-based device compiler can already compile a substantial portion of the SYCL application tests in Intel’s fork of the LLVM test-suite, and we seek to further improve coverage and extend the compilation to the host-part of SYCL applications. The design principles and core abstractions of the MLIR dialect for SYCL, developed as part of the project, will be discussed in detail, demonstrating how MLIR enables compiler optimization passes to better understand the semantics of SYCL applications. The poster will outline several opportunities for MLIR to significantly improve the code generated for SYCL applications over existing, LLVM-based compilation flows. One instance of such a potential improvement is MLIR’s ability to represent host and device code together in its nested intermediate representation. The ability to access host and device code at the same time from compiler optimization passes will enable transformations across the border between host and device code for SYCL applications. An example for such a transformation is the propagation of constants from host code into device code, an ability not found in DPC++’s current LLVM-based compilation flow. This may also pave a new avenue to single-pass compilation of SYCL applications in the future. Overall, the poster will provide a clear vision of how MLIR in the future will allow SYCL programs to be better optimized during compilation and the necessary steps to implement such a compilation flow.