Add the test case for builtin step() function
authorJunyan He <junyan.he@linux.intel.com>
Thu, 4 Jul 2013 07:35:34 +0000 (15:35 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Fri, 5 Jul 2013 09:44:48 +0000 (17:44 +0800)
commit5d6d9428ec799aa90a076e5ab7a109b8b06df3ad
treec1cd9dea4d803f778820d80a47efbce49c50411d
parent0e78859d91670210b8c4badd668931226e2bedbc
Add the test case for builtin step() function

The step function has two kind of prototype:
gentypen step(gentypen edge, gentypen x)
and
gentypen step(float edge, gentypen x)

The first's test name is compiler_step_floatX
The second's test name is compiler_stepf_floatX

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: Song, Ruiling <ruiling.song@intel.com>
kernels/compiler_step.cl [new file with mode: 0644]
utests/CMakeLists.txt
utests/compiler_step.cpp [new file with mode: 0644]