summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include/clc/geometric
Commit message (Collapse)AuthorAgeFilesLines
* Add initial support for half precision builtinsJan Vesely2018-05-171-0/+31
| | | | | | | | | | | | | | v2: fix fmax implementation use consistent checks for __CLC_FP_SIZE add missing TODOs fix whitespace in definitions.h v3: undef ZERO in modf.inc Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> reviewer: Jeroen Ketema <j.ketema@xs4all.nl> Reviewed-by: Aaron Watry <awatry@gmail.com> Tested-by: Aaron Watry <awatry@gmail.com> llvm-svn: 332677
* Move cl_khr_fp64 exntension enablement to gentype include listsJan Vesely2018-03-061-0/+1
| | | | | | | | 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
* geometric: geometric functions are only supported for vector lengths <=4Jan Vesely2017-09-291-16/+0
| | | | | | Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Aaron Watry <awatry@gmail.com> llvm-svn: 314545
* geometric/floatn.inc: Add vec8 and vec16 typesTom Stellard2016-07-221-0/+16
| | | | llvm-svn: 276495
* geometric: Limit fast_{distance,length} functions to single precisionJan Vesely2015-05-092-0/+4
| | | | | | Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 236940
* Implement fast_normalize builtin v4Tom Stellard2015-05-093-0/+60
| | | | | | | | | | | | | | | | | This implementation was ported from the AMD builtin library and has been tested with piglit, OpenCV, and the ocl conformance tests. v2: - Remove f suffix from constant in double implementations. - Consolidate implementations using the .cl/.inc approach. v3: - Use __CLC_FPSIZE instead of __CLC_FP{32,64} v4 (Jan Vesely): - Limit to single precision. llvm-svn: 236920
* Implement fast_distance builtinTom Stellard2015-03-232-0/+47
| | | | | | | This implementation was ported from the AMD builtin library and has been tested with piglit, OpenCV, and the ocl conformance tests. llvm-svn: 232978
* Implement fast_length builtinTom Stellard2015-03-232-0/+47
| | | | | | | This implementation was ported from the AMD builtin library and has been tested with piglit, OpenCV, and the ocl conformance tests. llvm-svn: 232977
* Implement distance builtin v2Tom Stellard2015-03-231-0/+23
| | | | | | | | | | This implementation was ported from the AMD builtin library and has been tested with piglit, OpenCV, and the ocl conformance tests. v2: - Remove unnecessary copyright. llvm-svn: 232964
* Add cross for double3 and double4Tom Stellard2014-03-211-0/+5
| | | | | | | Patch by: Jeroen Ketema Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 204477
* Add __CLC_ prefix to all macro definitions in headersTom Stellard2013-07-088-36/+36
| | | | | | | | | | | 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
* Fix typo in include/clc/geometric/length.incTom Stellard2013-06-261-1/+1
| | | | llvm-svn: 184984
* Add missing dot.h include.Peter Collingbourne2012-05-291-0/+1
| | | | llvm-svn: 157615
* Define FLOAT in floatn.inc.Peter Collingbourne2012-05-291-0/+10
| | | | llvm-svn: 157614
* Initial commit.Peter Collingbourne2012-01-088-0/+47
llvm-svn: 147756
OpenPOWER on IntegriCloud