Open mattfel1 opened 6 years ago
I agree its a bit weird, but by convention so far, ArgOut is just a register that the host can access after Accel executes. HostIO is one that it can access during Accel execution. Effectively that means Accel can do whatever it wants for both ArgOut and HostIO, only the host is limited.
Ok I'll correct the codegen and check it inside one of the other unit tests
There may be an issue when you have a read and write to an argout that is unrolled into multiple parallel accesses. Look into this
Physically, we can do this. But shouldn't we throw an error since you should be using a HostIO and not an ArgOut? Currently it won't crash anywhere until chisel compilation