3 ms·
If I were to expand that idea a bit more and remark on the biggest class of bug that causes segfaults for me in ArrayFire, it would be the requirement for expli
by arcfide 10y ago
If I were to expand that idea a bit more and remark on the biggest class of bug that causes segfaults for me in ArrayFire, it would be the requirement for explicit data type casting using as() to avoid problems. I wouldn't want this to go away at the cost of performance, but....
- pavanky 10y agoHmm this is the down side of using a dynamic typed array class. While the functions to handle the type checking of the host pointers can be done in C++, it would not be so easy to implement it in the C layer. And since it looks like you are using the C++ api anyway, can you open an issue on github so this will be looked at?
- arcfide 10y agoI will see if I can remember to do this. Thanks for the contributions!