OpenCL-TTL
OpenCL-TTL copied to clipboard
Add the ability to Align Tensor Rows and Planes
Certain platforms mandate specific alignment values for tensor rows/planes. To accommodate this, the system shall define two macros:
TTL_DEFAULT_INTERNAL_ALIGNMENT: Specifies the default internal alignment for tensors. TTL_DEFAULT_EXTERNAL_ALIGNMENT: Specifies the default external alignment for tensors.
Both macros shall have a default value of 1 byte if not explicitly defined.