Giter Site home page Giter Site logo

Comments (4)

ddemidov avatar ddemidov commented on May 22, 2024

I think PERF_N (1024) is too small to provide an adequate performance comparison for the inner product. For the vectors this small the performance is dominated by OpenCL overheads. Here the boost from OpenCL/CUDA was only apparent starting from vectors longer than 10e5-10e6.

from compute.

kylelutz avatar kylelutz commented on May 22, 2024

Yeah, performance shouldn't be judged with such small data sizes. @roshanr95 At what data sizes did you see the performance differences?

I'll look into bumping up the default number. In my usual testing I usually set PERF_N to 16000000 (by specifying it on the command line). Also @roshanr95, I assume you found the perf.py script which will run the algorithm with a range of data sizes and also display a graph if you run it with the --plot-time or --plot-rate arguments.

from compute.

roshanr95 avatar roshanr95 commented on May 22, 2024

Yeah, I used the python script. The performance differences are for size of 33554432 elements.

from compute.

kylelutz avatar kylelutz commented on May 22, 2024

Fixed. See issue #73 and the discussion in issue #69.

from compute.

Related Issues (20)

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.