diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2012-05-28 20:42:54 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2012-05-28 20:42:54 +0000 |
commit | 9b95fc79c210b69f60f8c226c94789c3d4b5000c (patch) | |
tree | 2515c01a2c38d0c2fbfb481330b78afc5c6fb770 /test | |
parent | 5ea05cf610d3c536ec370879b6424a89156d2004 (diff) |
Explicit conversions.
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@157590 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/convert.cl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/convert.cl b/test/convert.cl new file mode 100644 index 0000000..928fc32 --- /dev/null +++ b/test/convert.cl @@ -0,0 +1,3 @@ +__kernel void foo(int4 *x, float4 *y) { + *x = convert_int4(*y); +} |