Coder Social home page Coder Social logo

Comments (11)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
Assigning to Shubho since this is his function.

Original comment by [email protected] on 17 Jun 2009 at 11:30

from cudpp.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024

Original comment by [email protected] on 23 Jun 2009 at 2:10

  • Added labels: Milestone-Release1.1

from cudpp.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024

Original comment by [email protected] on 25 Jun 2009 at 4:50

  • Changed state: Fixed

from cudpp.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
John to verify.

Original comment by [email protected] on 25 Jun 2009 at 4:57

from cudpp.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
Shubho, can you clarify the way this argument works? Is this greater-than or
greater-than-or-equal-to? If it's as described, I don't see how it would be 
possible
to specify a minimum index that is just to the right of 0, since 0 seems to be
special-cased according to the description.

Also, there's a reference to d_maxindex in the kernel description, but there's 
no
d_maxindex argument. It looks like the kernel description was copied from the
previous kernel.

Also, there's a FIXME comment in this kernel.

Original comment by [email protected] on 25 Jun 2009 at 1:12

  • Changed state: Started

from cudpp.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
It is greater than. If it is 0 then it is added to the whole CTA. if it is 1 
you have a minimum index which is just to 
the right of 0 (the minimum index is 1-based)

changed d_maxIndex to d_minIndex

FIXME is unrelated to this issue - can open a new one to fix that

Original comment by [email protected] on 25 Jun 2009 at 5:10

from cudpp.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
Can you clarify the 1-based thing in the comments? It seems to me that
greater-than-with-1-index is equivalent to the simpler
greater-than-or-equal-to-with-0-index, but I just want it described completely; 
I
didn't write the code. But "1-index" is not mentioned in the documentation at 
all and
it seems like it should be.

Original comment by [email protected] on 25 Jun 2009 at 5:19

from cudpp.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
It is in line 293 - and also in segmented_scan_cta.cu where they are generated.

There is a reason why it is 1 - if the first element of a CTA has a flag - the 
index would be 0 - but 0 also means 
the absence of a flag. Hence a 1-based index to prevent overloading of what 0 
means.

Original comment by [email protected] on 25 Jun 2009 at 5:27

from cudpp.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
That clarification - why it's one-based - is worth adding. It would make it much
easier for those who modify/use your code to understand it.

Original comment by [email protected] on 25 Jun 2009 at 5:52

from cudpp.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
Added clarification

Original comment by [email protected] on 25 Jun 2009 at 9:49

  • Changed state: Fixed

from cudpp.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 10, 2024
That's helpful, thanks.

Original comment by [email protected] on 25 Jun 2009 at 9:55

  • Changed state: Verified

from cudpp.

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.