Lines Matching refs:CUDA
1 //===--- SemaCUDA.cpp - Semantic Analysis for CUDA constructs -------------===//
9 /// This file implements semantic analysis for CUDA constructs.
16 #include "clang/Basic/Cuda.h"
38 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
43 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
115 /// IdentifyCUDATarget - Determine the CUDA compilation target for this function
144 /// IdentifyTarget - Determine the CUDA compilation target for this variable.
173 // * CUDA Call preference table
213 // (a) Can't call global from some contexts until we support CUDA's
275 // Gets the CUDA function preference for a call from Caller to Match.
465 // (E.2.3.1, CUDA
507 // (E.2.3.1, CUDA 7.5) A destructor for a class type is considered
565 // constructor according to CUDA rules. This deviates from NVCC,
628 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
643 // Is D a __device__ function with the same signature as NewD, ignoring CUDA
657 // (ignoring CUDA attrs). This is an error unless that function is defined
685 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
715 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
743 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
798 // Check the wrong-sided reference capture of lambda for CUDA/HIP.
845 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
854 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
863 // same signature. We allow overloading based on CUDA attributes so that
904 // New CUDA kernel launch sequence.
909 // Legacy CUDA kernel configuration call