[all-commits] [llvm/llvm-project] e69e55: new altera single work item barrier check

Frank Derry Wanye via All-commits all-commits at lists.llvm.org
Fri Dec 18 04:52:55 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e69e551e0e5fddffb6479da6a2998457104ba9e6
      https://github.com/llvm/llvm-project/commit/e69e551e0e5fddffb6479da6a2998457104ba9e6
  Author: Frank Derry Wanye <wanyef at mail.gvsu.edu>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/altera/AlteraTidyModule.cpp
    M clang-tools-extra/clang-tidy/altera/CMakeLists.txt
    A clang-tools-extra/clang-tidy/altera/SingleWorkItemBarrierCheck.cpp
    A clang-tools-extra/clang-tidy/altera/SingleWorkItemBarrierCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/docs/clang-tidy/checks/altera-single-work-item-barrier.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/test/clang-tidy/checkers/altera-single-work-item-barrier.cpp

  Log Message:
  -----------
  new altera single work item barrier check

This lint check is a part of the FLOCL (FPGA Linters for OpenCL)
project out of the Synergy Lab at Virginia Tech.

FLOCL is a set of lint checks aimed at FPGA developers who write code
in OpenCL.

The altera single work item barrier check finds OpenCL kernel functions
that call a barrier function but do not call an ID function. These
kernel functions will be treated as single work-item kernels, which
could be inefficient or lead to errors.

Based on the "Altera SDK for OpenCL: Best Practices Guide."




More information about the All-commits mailing list