Code Monkey home page Code Monkey logo

miopen_cudnn_ops's Introduction

miopen_cudnn_ops

compare cudnn/miopen ops

build on amd rocm platform

please install rocm following this link, and make sure miopen is installed properly

sh build.sh miopen

build on nvidia cuda platform

please install cuda to /usr/local/cuda, as well as cudnn

sh build.sh cudnn

compare op with op_driver

# after above build step, binary will result in ./build/ directory

# run alexnet 1st conv layer command:
./build/op_driver  conv -k 64 -W 227 -H 227 -c 3 -x 11 -y 11 -u 4 -v 4 -p 1 -q 1 -n 512
# run alexnet 2nd conv layer command:
./build/op_driver  conv -k 192 -W 55 -H 55 -c 64 -x 5 -y 5 -u 1 -v 1 -p 2 -q 2 -n 512

# more detail about conv parameters:
./build/op_driver  conv -h

miopen_cudnn_ops's People

Contributors

alexshuang avatar carlushuang avatar shaojiewang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

miopen_cudnn_ops's Issues

Tracking/Plan of op_driver

  • Add support of enabling/disabling Tensor Core in convolution on NVIDIA/cuDNN backend.

  • Add support of measure wall-time of both Find/Get interface on both NVIDIA/AMD backend.

    • Print out both kernel execution time and wall-time.

    • For NVIDIA/cuDNN backend, add both paths of cudnnFindConvolution[Direction]AlgorithmEx/cudnnGetConvolution[Direction]Algorithm. Direction can be Forward/BackwardData/BackwardFilter.

    • For AMD/MIOpen backend, add intermediate mode support, see below APIs for reference: miopenConvolutionForwardCompileSolution/miopenConvolutionForwardGetSolution/miopenConvolutionForwardImmediate

  • Group/depthwise convolution support both in CPU/GPU side.

  • Add support of tensor format on NVIDIA/cuDNN other than CUDNN_TENSOR_NCHW, such as CUDNN_TENSOR_NHWC and CUDNN_TENSOR_NCHW_VECT_C.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.