pcpratts/rootbeer1 — pull request #155 by millecker (2014-03-23 11:17:47+00:00)
Title: Add GpuVectorMap2 test case

Hello Phil,

this pull request includes the GpuVectorMap2 test case for https://github.com/pcpratts/rootbeer1/issues/153.
Attention I set ```-noexceptions``` in *RootbeerTest* because without ```-noexceptions``` GpuVectorMap2 will not fail. Maybe there is a another way to add this argument within the test case.

```
$ ant clean && ant && ./pack-rootbeer
$ java -Xmx6g -jar Rootbeer.jar -runtest org.trifort.rootbeer.testcases.rootbeertest.kerneltemplate.GpuVectorMapTest2
[TEST 1/1] org.trifort.rootbeer.testcases.rootbeertest.kerneltemplate.GpuVectorMapTest2@e99fefa
input:
(0,[0.0])
(1,[2.0])
input:
(0,[0.0])
(1,[2.0])
0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
16: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
32: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
48: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
64: 01 00 00 00 ef 0d 00 00 30 00 00 00 00 00 00 00
80: ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00
96: 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
112: 01 00 00 00 f8 0d 00 00 30 00 00 00 00 00 00 00
128: ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00
144: 0a 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
160: 00 00 00 00 4f 2e 00 00 28 00 00 00 02 00 00 00
176: ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00
192: 0d 00 00 00 13 00 00 00 00 00 00 00 00 00 00 00
208: 02 00 00 00 b1 0d 00 00 30 00 00 00 00 00 00 00
224: ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00
240: ff ff ff ff 10 00 00 00 00 00 00 00 00 00 00 00
0: ff ff ff ff ff ff ff ff 90 01 00 00 00 00 00 00
16: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
32: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
48: 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff
64: 01 00 00 00 ef 0d 00 00 30 00 00 00 00 00 00 00
80: ff ff ff ff 14 00 00 00 00 00 00 00 00 00 00 00
96: 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
112: 01 00 00 00 f8 0d 00 00 30 00 00 00 00 00 00 00
128: ff ff ff ff 14 00 00 00 00 00 00 00 00 00 00 00
144: 0a 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
160: 00 00 00 00 4f 2e 00 00 28 00 00 00 02 00 00 00
176: ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00
192: 0d 00 00 00 13 00 00 00 00 00 00 00 00 00 00 00
208: 02 00 00 00 b1 0d 00 00 30 00 00 00 00 00 00 00
224: ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00
240: ff ff ff ff 19 00 00 00 00 00 00 00 00 00 00 00
verify lhs:
(0,[1.0])
(1,[3.0])
verify rhs:
(0,[1.0])
(1,[1.0])
Error at position: 0 expectedValue: 3.0 != 1.0
FAILED
Compare failed at: 0
```

Thanks!

Martin