Skip to content

Commit

Permalink
changing one missed "eq" comparison to "eql" comparison
Browse files Browse the repository at this point in the history
#14: Refactor GpuFilteredRDD and FilteredChunkItrator

Task-Url: http://github.com/meisam/spark/issues/issue/14
  • Loading branch information
meisam committed Jan 15, 2015
1 parent 7e3c36f commit 58ed654
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class GpuFilteredRDDSuit extends FunSuite with SharedSparkContext {
val gpuFilter = clCreateBuffer(openCLContext.getOpenCLContext, CL_MEM_READ_WRITE, Sizeof.cl_int * globalSize, null, null)
val gpuPsum = clCreateBuffer(openCLContext.getOpenCLContext, CL_MEM_READ_WRITE, Sizeof.cl_int * globalSize, null, null)
val gpuCount = clCreateBuffer(openCLContext.getOpenCLContext, CL_MEM_READ_WRITE, Sizeof.cl_int * globalSize, null, null)
var kernel = clCreateKernel(openCLContext.getOpenCLProgram, "genScanFilter_init_int_eq", null)
var kernel = clCreateKernel(openCLContext.getOpenCLProgram, "genScanFilter_init_int_eql", null)
clSetKernelArg(kernel, 0, Sizeof.cl_mem, Pointer.to(gpuCol))
clSetKernelArg(kernel, 1, Sizeof.cl_long, Pointer.to(Array[Long](testData.length.toLong)))
clSetKernelArg(kernel, 2, Sizeof.cl_int, Pointer.to(Array[Int](value)))
Expand Down

0 comments on commit 58ed654

Please sign in to comment.