xinlipn

Results 9 issues of xinlipn

Hello, Try to build/install HIP on Ubuntu 20.04.5 LTS with the steps below https://rocmdocs.amd.com/en/latest/Programming_Guides/hip_install.html 1. cd HIP 2 .mkdir build 3. cd build 4. cmake .. 5. make 6. make...

The shell script has dependency on the binary, MIOpenDriver

testing

1. Rename RunCKSolution to InitInvokerFactoryBnCKFwdInferenceNHWC to differentiate the upcoming the new API InitInvokerFactoryBnCKFwdInferenceNCHW 2. Move common code to implicitgemm_ck_util.hpp

Enable NCHW batchnorm using CK

Update Batchnorm forward inference to support NCHW format CK Reference code: https://github.com/ROCm/composable_kernel/blob/a9b170b54195ab667ca814f80dd5dfbf4ad772f5/test/batchnorm/batchnorm_infer_rank_4.cpp#L91 https://github.com/ROCm/composable_kernel/blob/a9b170b54195ab667ca814f80dd5dfbf4ad772f5/profiler/include/profiler/profile_batchnorm_infer_impl.hpp#L29

Update reduceDims for switching NCHW and NHWC layouts with CK

Use reduceDims for switching NCHW and NHWC layouts with CK

Create gTests to cover cases without saved Mean and saved InvVar, equivalent to e.g. the command below ./bin/MIOpenDriver bnormbfp16 -n 1 -c 2 -H 24 -W 16 -m 1 --forw...

GTest

More test cases added for better coverage. Here's the summary 1. N C H W: 128 256 14 14 Covers: backward_spatial_single.cpp: variant == 3 and variant == 1 (2nd) [128...

GTest