[PATCH] D72241: [clang-tidy] new altera single work item barrier check
Frank Derry Wanye via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 5 19:39:19 PST 2020
ffrankies created this revision.
ffrankies added reviewers: aaron.ballman, alexfh, hokein, Eugene.Zelenko.
ffrankies added projects: clang-tools-extra, clang.
Herald added subscribers: mgehre, jfb, arphaman, xazax.hun, Anastasia, mgorny.
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."
Depends on https://reviews.llvm.org/D66564 due to the altera module being introduced there.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D72241
Files:
clang-tidy/CMakeLists.txt
clang-tidy/ClangTidyForceLinker.h
clang-tidy/altera/AlteraTidyModule.cpp
clang-tidy/altera/CMakeLists.txt
clang-tidy/altera/SingleWorkItemBarrierCheck.cpp
clang-tidy/altera/SingleWorkItemBarrierCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/altera-single-work-item-barrier.rst
docs/clang-tidy/checks/list.rst
docs/clang-tidy/index.rst
test/clang-tidy/checkers/altera-single-work-item-barrier.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72241.236289.patch
Type: text/x-patch
Size: 23418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200106/3515e3fe/attachment-0001.bin>
More information about the cfe-commits
mailing list