CPC G06F 8/4435 (2013.01) [G06F 17/16 (2013.01)] | 20 Claims |
1. A method comprising:
in response to receiving an indication that source code to be compiled at a processing system includes at least one function that performs a memory access to a tile of data, determining whether at least a portion of the source code representing the at least one function that performs the memory access to the tile of data is replaceable by a tensor operation executable at a special-purpose hardware accelerator of the processing system; and
generating code that replaces the at least a portion of the source code representing the at least one function that performs the memory access to the tile of data with the tensor operation in response to determining that the at least a portion of source code representing the at least one function that performs the memory access to the tile of data is replaceable by the tensor operation.
|