Comments (11)
Assigning to Shubho since this is his function.
Original comment by [email protected]
on 17 Jun 2009 at 11:30
from cudpp.
Original comment by [email protected]
on 23 Jun 2009 at 2:10
- Added labels: Milestone-Release1.1
from cudpp.
Original comment by [email protected]
on 25 Jun 2009 at 4:50
- Changed state: Fixed
from cudpp.
John to verify.
Original comment by [email protected]
on 25 Jun 2009 at 4:57
from cudpp.
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.
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.
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.
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.
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.
Added clarification
Original comment by [email protected]
on 25 Jun 2009 at 9:49
- Changed state: Fixed
from cudpp.
That's helpful, thanks.
Original comment by [email protected]
on 25 Jun 2009 at 9:55
- Changed state: Verified
from cudpp.
Related Issues (20)
- CMake Error when building NVCC object (CUDPP 2.0) HOT 1
- virtual memory exhausted: 无法分配内存 HOT 1
- Related to use cuda programme in cpp file HOT 5
- Regarding MAKE file of CUDA HOT 2
- Add short/ushort support HOT 2
- Modular build system HOT 7
- Fail to compile on Win7 SP1 with VS 2010 HOT 2
- make install omits cudpp_config.h HOT 9
- Header file (cudpp_config.h) not installed by CMake HOT 1
- CHAR_BIT already defined (on OS X) HOT 2
- [deleted issue]
- Cannot compile on multi gpu machine HOT 2
- Is code of INPAR "Efficient Parallel Merge Sort for Fixed and Variable Length Keys" merged here.. HOT 2
- atomicAdd not supported for compute_30 HOT 5
- Error runnig cudpp (scan in compact) HOT 2
- Build fails on VS2010, win 7 , cuda 4.2 HOT 1
- tridiagonal solver fails for systems of two equations. (NaN in place of result) HOT 3
- cudppPlan execution time HOT 1
- Cmake problem HOT 2
- 2 different files named mt19937ar.cpp are swapped in the distro. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cudpp.