diff options
author | Guo Yejun <yejun.guo@intel.com> | 2014-11-10 13:49:19 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2014-11-10 14:42:36 +0800 |
commit | 9e236b18542f2564e399bf13d4d1fbcc48a5ec9f (patch) | |
tree | 7286344d9b4ad2e93f95554434314320615b8bc8 /kernels | |
parent | b6660fa343e4e80231123695834cc24e3fc5487b (diff) |
add test for clCreateImageFromLibvaIntel
Signed-off-by: Guo Yejun <yejun.guo@intel.com>
Tested-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'kernels')
-rw-r--r-- | kernels/runtime_climage_from_boname.cl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernels/runtime_climage_from_boname.cl b/kernels/runtime_climage_from_boname.cl new file mode 100644 index 00000000..2e9da0fc --- /dev/null +++ b/kernels/runtime_climage_from_boname.cl @@ -0,0 +1,8 @@ +__kernel void +runtime_climage_from_boname(__write_only image2d_t dst) +{ + int2 coord; + coord.x = (int)get_global_id(0); + coord.y = (int)get_global_id(1); + write_imagef(dst, coord, (float4)(0.34)); +} |