Giter Site home page Giter Site logo

Comments (3)

doctorcolinsmith avatar doctorcolinsmith commented on July 29, 2024 1

256 should be optimal for the default case, but @nolmoonen will review.

from rocthrust.

nolmoonen avatar nolmoonen commented on July 29, 2024

Hi @cwsmith, I agree with Colin here: a block size of 256 is generally a good choice for AMD cards. It would be helpful to know why you would want to change it.

As it stands, it is not possible to change the kernel configuration for parallel_for with a custom policy (or in any other way). rocThrust must maintain compatiblity with Thrust, which also does not offer this functionality.

Perhaps you would want to have a look at rocPRIM's device_transform which does the same thing as parallel_for, but does take in a kernel configuration as parameter.

from rocthrust.

cwsmith avatar cwsmith commented on July 29, 2024

Hello @doctorcolinsmith and @nolmoonen.

I was looking at register usage for some of our kernels and wanted to experiment with different block sizes.

Thank you for the info on the default [roc]Trust size and the link to the rocPRIM API.

from rocthrust.

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.