summaryrefslogtreecommitdiff
path: root/kernels/compiler_mad24.cl
diff options
context:
space:
mode:
authorHomer Hsing <homer.xing@intel.com>2013-07-04 11:19:02 +0800
committerZhigang Gong <zhigang.gong@linux.intel.com>2013-07-08 16:20:34 +0800
commit535899c53f189e7686b45522b92832a7990a5f00 (patch)
treeebf8f5d846dfca3ea06e9c59c5507a8257695a6c /kernels/compiler_mad24.cl
parent6045309f32f13e3f7b5a629ca3f4eec1d78f7305 (diff)
test cases for "mul24", "mad24"
Signed-off-by: Homer Hsing <homer.xing@intel.com> Reviewed-by: He Junyan <junyan.he@inbox.com>
Diffstat (limited to 'kernels/compiler_mad24.cl')
-rw-r--r--kernels/compiler_mad24.cl4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernels/compiler_mad24.cl b/kernels/compiler_mad24.cl
new file mode 100644
index 00000000..04bb2c50
--- /dev/null
+++ b/kernels/compiler_mad24.cl
@@ -0,0 +1,4 @@
+kernel void compiler_mad24(global int *src1, global int *src2, global int *src3, global int *dst) {
+ int i = get_global_id(0);
+ dst[i] = mad24(src1[i], src2[i], src3[i]);
+}