clpy
clpy copied to clipboard
Test for ultima
There is no test for ultima itself. That absence could be problem.
@vorj I request you to try this issue.
@LWisteria I made the template of test case for ultima in #202. Then, what should we check? Please let me know your opinion.
These are the test cases what I conceived:
- General conversions
- [x] Type cast
- [x] Function style cast
- [x] C++ cast
- [x] Constructor
- [x] Template instantiation
- [x] Overload mangling
- [x] Tricking
half
- [x] Type cast
- Specific Conversions
- [x]
CArray<T, N>
to__global T*, CArray_N
- [ ] Operator overloading for
CArray
- [x] Member functions for
CArray
andCIndexer
- [ ] Header name mutation
- [ ] Begin/end print out directives
- [ ] Elementwise/reduction kernel conversion
- [x]
@vorj Firstly, do not send the big PR which contains whole cases. #202 (and a item you wrote above) is enough to merge. So please make those tests.
On the other hand, I will check the test cases, at latest before you finish the above cases.
Anyway, this issue is not on the beta2 milestone thus #153 's priority is higher.
OK, so I will create those test cases later.
@vorj The file for ultima test will be large. How about making ultima_tests
directory and dividing them into each file by test type?