• Adam Osewski's avatar
    Unify Convolution FWD XDL 1D/2D implementation. (#93) · 756a7617
    Adam Osewski authored
    
    
    * Convolution ND
    
    * Code unification across dimensions for generating tensor descriptors.
    * Example
    * Instances
    
    * Move convnd f32 instance file to comply with repo structure.
    
    * Conv 1D tensor layouts.
    
    * Formatting and use ReferenceConv
    
    * Reference ConvFwd supporting 1D and 2D convolution.
    
    * Debug printing TensorLayout name.
    
    * Conv fwd 1D instance f32
    
    * Refactor conv ND example.
    
    Needed to support various conv dimensio.
    
    Needed to support various conv dimensions
    
    * Rename conv nd example director to prevent conflicts.
    
    * Refactor some common utility to single file.
    
    Plus some tests.
    
    * Refactor GetHostTensorDescriptor + UT.
    
    * Add 1D test case.
    
    * Test reference convolution 1d/2d
    
    * Remove some leftovers.
    
    * Fix convolution example error for 1D
    
    * Refactor test check errors utility function.
    
    * Test Conv2D Fwd XDL
    
    * More UT for 1D case.
    
    * Parameterize input & weight initializers.
    
    * Rename example to prevent conflicts.
    
    * Split convnd instance into separate files for 1d/2d
    
    * Address review comments.
    
    * Fix data type for flops/gbytes calculations.
    
    * Assign example number 11.
    Co-authored-by: default avatarAdam Osewski <aosewski@amd.com>
    Co-authored-by: default avatarChao Liu <chao.liu2@amd.com>
    756a7617
tensor_layout.hpp 1.91 KB