Merging copy/transform operators for DMAs
We need to agree on the proper way to integrate copy/transform operators for DMAs into the library.
An exhaustive list of operators is available in data-layouts/src/copy.rb. The problem is how to make this list of operators easy to handle for users.
From previous discussions the solution might look like this:
- additional create param in DMA for a default operator to use
- additional generic api function in DMA to specify an operator for this request
- a table of all the operators available in AML.
Some details on this operator table: we want the users to be able to query dynamically the operators available. This means indexing all the operators based on a list of attributes for source, destination, and type of operator. The idea would be to define flags for all that, and have the table statically defined in the source.
Attributes for source/destination:
- type of backing memory
- layout order
Attribute for the operator:
Any other ideas? comments?