Lunderberg opened a new pull request #10586:
URL: https://github.com/apache/tvm/pull/10586


   The primary goal of this PR is to add codegen for 2d physical layouts in 
CodeGenHexagon.
   
   * Correctly update buffer objects in `IndexMap`.
   * Extend `CodeGenLLVM::BufferAccessHelper` to allow for N-d buffer access.  
`CodeGenLLVM` is still limited to flat 1-d memory buffers, but this allows 
subclasses to support some forms of N-d buffers by overriding 
`Subclass::CreateBufferPtr`.
   * Implement `CodeGenHexagon::CreateBufferPtr` to allow for 2-d buffer access.
   * Added unit tests to define desired behavior.  Currently, this only checks 
that the Hexagon module can be built.  Tests to verify that the generated code 
will produce expected results depends on allocation support added in #10558.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to