summaryrefslogtreecommitdiffstats
path: root/libclc/generic/lib/shared/max.cl
Commit message (Collapse)AuthorAgeFilesLines
* Move cl_khr_fp64 exntension enablement to gentype include listsJan Vesely2018-03-061-4/+0
| | | | | | | | This will make adding cl_khr_fp16 support easier Reviewed-by: Aaron Watry <awatry@gmail.com> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 326816
* Add __CLC_ prefix to all macro definitions in headersTom Stellard2013-07-081-2/+2
| | | | | | | | | | | libclc was defining and undefing GENTYPE and several other macros with common names in its header files. This was preventing applications from defining macros with identical names as command line arguments to the compiler, because the definitions in the header files were masking the macros defined as compiler arguements. Reviewed-by: Aaron Watry <awatry@gmail.com> llvm-svn: 185838
* libclc: Move max builtin to shared/Tom Stellard2013-06-261-0/+11
Max(x,y) is available for all integer/floating types. Patch by: Aaron Watry llvm-svn: 184995
OpenPOWER on IntegriCloud