summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCUDA/function-target.cu
Commit message (Collapse)AuthorAgeFilesLines
* CUDA: Add option to allow host device functions to call host functionsJacques Pienaar2015-02-241-38/+0
| | | | | | Commiting code from review http://reviews.llvm.org/D7841 llvm-svn: 230385
* CUDA host device code with two code pathsReid Kleckner2014-12-031-4/+31
| | | | | | | | | | | | | | | | | | | | | | | Summary: Allow CUDA host device functions with two code paths using __CUDA_ARCH__ to differentiate between code path being compiled. For example: __host__ __device__ void host_device_function(void) { #ifdef __CUDA_ARCH__ device_only_function(); #else host_only_function(); #endif } Patch by Jacques Pienaar. Reviewed By: rnk Differential Revision: http://reviews.llvm.org/D6457 llvm-svn: 223271
* Move all CUDA testing inputs to Inputs/ subdirectory inside the tests.Eli Bendersky2014-04-281-1/+1
| | | | llvm-svn: 207453
* CUDA: diagnose invalid calls across targetsPeter Collingbourne2011-10-021-0/+44
llvm-svn: 140978
OpenPOWER on IntegriCloud