onnxruntime
719e58d8 - Use MLAS to retrieve the CPU preferred tensor buffer alignment (#1377)

Commit
6 years ago
Use MLAS to retrieve the CPU preferred tensor buffer alignment (#1377) Add MlasGetPreferredBufferAlignment() for use by CPUAllocator::Alloc to get the byte alignment for CPU tensors. Using MLAS allows the value to be based on the platform the binary is running on instead of a constant value fixed at compile time.
Author
Parents
Loading