~berdario/+junk/unhash

Viewing all changes in revision 1.

  • Committer: Dario Bertini
  • Date: 2012-04-10 08:03:21 UTC
  • Revision ID: berdario@gmail.com-20120410080321-h883dutjfqi2ilcu
First commit... this isn't working yet, and on my T7300 it can't work
I need to work on it on a SSE4 capable CPU
For now, I already tried to make use of a char[][]
but in OpenCL you can't have a pointer to a pointer
So, I'm using a second int[], with the lengths, and flattened the words array
I also included manually the glibc implementation of strncmp():
apparently you can't #include inside the preamble of a ReductionKernel
(or at least you can't specify the include path)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: