[cfe-dev] clang-tidy and CUDA

Richard via cfe-dev cfe-dev at lists.llvm.org
Tue Jul 3 13:39:59 PDT 2018


[Please reply *only* to the list and do not include my email directly
in the To: or Cc: of your reply; otherwise I will not see your reply.
Thanks.]

In article <e4d9ceb2-7cd8-dde8-92d8-df15bd1964b7 at jonas-toth.eu>,
    Jonas Toth via cfe-dev <cfe-dev at lists.llvm.org> writes:

> There are currently no cuda specific checks in clang-tidy. I dont
> program CUDA that much, but doesnt the CUDA compiler specify some extra
> attributes and types in order to compile the device and host code?

Yes, there are a bunch of things that nvcc defines by default that
wouldn't necessarily be defined by default under clang.
-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
            The Terminals Wiki <http://terminals-wiki.org>
     The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
  Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>



More information about the cfe-dev mailing list