Giter Site home page Giter Site logo

cudnn_conv_int8's Introduction

该项目用于测试cudnn对int8卷积计算的支持。

编译

修改makefile中CUDA和cudnn相关的变量,然后在当前路径下执行make,在src路径下的源文件会逐个被编译为独立的可执行文件并存在./bin路径下。

如果在执行可执行文件时,出现error while loading shared libraries: libcudnn.so.*,请将对应的库所在路径添加到环境变量LD_LIBRARY_PATH中。

测试内容

cudnn int8卷积和float32卷积运行时间

width 40

height 40

channels 256

batch size 16

out_channels 512

kernel_size 3

gpu: P40

cuda8

cudnn6

迭代一万次 forward过程求平均

参数设置方式 随机数

int8 1.69416ms

float32 6.618135ms

文件cudnn_conv_int8.cc cudnn_conv_float32.cc

cudnn_conv_int8's People

Contributors

achao2013 avatar slf12 avatar wanghaoshuang avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

slf12

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.