Implement fast_length builtin
authorTom Stellard <thomas.stellard@amd.com>
Mon, 23 Mar 2015 18:10:02 +0000 (18:10 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 23 Mar 2015 18:10:02 +0000 (18:10 +0000)
commitcb80e14f2c86fffd64c24872257c8d3f83244851
treed2268dc8b5282844b914bce876c27a0252979be4
parent16132e6faa678fa3ef08e639f0703a5d8a672b94
Implement fast_length builtin

This implementation was ported from the AMD builtin library
and has been tested with piglit, OpenCV, and the ocl conformance tests.

llvm-svn: 232977
libclc/generic/include/clc/clc.h
libclc/generic/include/clc/geometric/fast_length.h [new file with mode: 0644]
libclc/generic/include/clc/geometric/fast_length.inc [new file with mode: 0644]
libclc/generic/lib/SOURCES
libclc/generic/lib/geometric/fast_length.cl [new file with mode: 0644]