LonelyCat124
LonelyCat124
@sergisiso Do you think this should be a ParallelLoopTrans extension? In theory there's nothing preventing this being applied to any statement (though unless that statement is computationally intensive (so some...
Ok, I think I need to write out what I need to handle before I return to coding, because it seems complicated and I keep losing my thought process. -...
I'm also slightly unclear how to check `Literal < stop-init` since its very reasonable for `stop` and `init` to not be Literals (and probably the most common use case). @sergisiso...
Writing out an example to try to work this out: ``` do j=1, N, 256 i_end = min(j+256, N) do i=j, i_end a(i) = b(i) + c(i) do inner =...
I think Loop and IfBlock are now mostly implemented. Assignment is mostly implemented, but I am yet to handle the following cases: 1. A BinaryOp appears inside an ArrayIndex. This...
Ok, those issues are "fixed" in some parts where they appear now. I want to refactor all of this code so its single implementation I can reuse properly now, as...
I refactored the BinaryOperation handling code, some of the other bits I'm less sure on how to manage, e.g. this code fragment appears a lot: ``` for index in ref.indices:...
I moved this into a function for all read-only references, which makes the code much cleaner, and should make fixing errors easier, I need to finish the Transformation and then...
Currently testing this with a simple code example. It fails as the ``` for index in indices: ``` as index is a List, which is not currently supported, and probably...
@sergisiso raised a good point to me today. Most of my strategy to this point has essentially come from my experience of using NemoLite2D, which has fully inlined kernels and...