By the same authors

Safe asynchronous multicore memory operations

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Author(s)

  • M. Bontincan
  • Mike Dodds
  • A.F. Donaldson
  • Matthew J. Parkinson

Department/unit(s)

Publication details

Title of host publicationAutomated Software Engineering (ASE), 2011 26th IEEE/ACM International Conference on
DatePublished - 2011
Pages153-162
Number of pages10
PublisherIEEE
Original languageEnglish
ISBN (Print)978-1-4577-1638-6

Abstract

Asynchronous memory operations provide a means for coping with the memory wall problem in multicore processors, and are available in many platforms and languages, e.g., the Cell Broadband Engine, CUDA and OpenCL. Reasoning about the correct usage of such operations involves complex analysis of memory accesses to check for races. We present a method and tool for proving memory-safety and race-freedom of multicore programs that use asynchronous memory operations. Our approach uses separation logic with permissions, and our tool automates this method, targeting a C-like core language. We describe our solutions to several challenges that arose in the course of this research. These include: syntactic reasoning about permissions and arrays, integration of numerical abstract domains, and utilization of an SMT solver. We demonstrate the feasibility of our approach experimentally by checking absence of DMA races on a set of programs drawn from the IBM Cell SDK.

Discover related content

Find related publications, people, projects, datasets and more using interactive charts.

View graph of relations