• Adam Osewski's avatar
    Testing all fwd convolution specializations. (#259) · a2edd7d8
    Adam Osewski authored
    
    
    * UniforFill with integer values.
    
    * Log tested instance type string.
    
    * Add UT for all convolution specializations.
    
    * debugging conv
    
    * Fix dangling reference bug.
    
    * Small refinements.
    
    * Fix call to error checking function.
    
    * Small refinements to tests.
    
    * Configure error tolerance
    * Change problem size.
    * Remove OddC case from types that do not support it.
    
    * Add helper traits for AccumulatorDataType.
    
    * Print first 5 errs in check_err for integral types.
    
    * Rename FillUniform to FillUniformDistribution
    
    * Refactor
    
    * Do not use typed tests.
    * Instead use plain fixture class with templatized member functions.
    * Initialize tensors with integer values.
    
    * Refine test instances.
    
    * Properly set accumulator data type.
    * Add another "big" instance.
    
    * Refactor convolution tests.
    
    * Revert "debugging conv"
    
    This reverts commit b109516455631ff8fd6dce99cf7c14bf8e323ebb.
    
    * Add pragma once + format + small refinement.
    
    * Fix some unwanted changes.
    
    * Clang-format
    
    * Fix profile_convnd to use renamed tensor initializer.
    
    * Add instances for ConvFWDND kernel case 2D
    
    * Helpers to get ConvNDFwd 2D instances.
    
    * Refactoring.
    
    * Remove "small block" instance as it was generating compiler errors.
    * Remove default template parameters values.
    
    * Refine and fix test.
    
    * Fix problem with default template parameter types.
    * Adjust error thresholds for floating point values test.
    * Use integer values initialization for instances test.
    * Add tests for ConvNDFwd 2D case.
    
    * Remove AccumulatorDataType type trait.
    
    * Update unit-tests.
    
    * Remove operator<< overload.
    
    * Unlock conv1d/3d nd fwd instances.
    
    * Enable skipping calculating reference using flag.
    
    * Fix number of channels for first ResNet50 layer.
    
    * Clang-format.
    Co-authored-by: default avatarAdam Osewski <aosewski@amd.com>
    Co-authored-by: default avatarChao Liu <chao.liu2@amd.com>
    a2edd7d8
profile_convnd_fwd.cpp 12 KB