IT WORKSSSSSSS!!!!!!!!! performance sucks, but IT WORKS!!!!!

master
MitchellHansen 9 years ago
parent 5fbc65d9df
commit 88c5cc71e4

@ -223,7 +223,7 @@ int main(int argc, char* argv[])
//status = clEnqueueWriteBuffer(commandQueue, inputBuffer, CL_TRUE, 0, GRID_WIDTH * GRID_HEIGHT * 2 * sizeof(char), (void*)grid, NULL, 0, NULL); //status = clEnqueueWriteBuffer(commandQueue, inputBuffer, CL_TRUE, 0, GRID_WIDTH * GRID_HEIGHT * 2 * sizeof(char), (void*)grid, NULL, 0, NULL);
// One work item per group, don't really know if this impacts performance // One work item per group, don't really know if this impacts performance
size_t global_work_size[1] = { 100 }; size_t global_work_size[1] = { GRID_HEIGHT };
// Run the kernel // Run the kernel
status = clEnqueueNDRangeKernel(commandQueue, kernel, 1, NULL, global_work_size, NULL, 0, NULL, NULL); status = clEnqueueNDRangeKernel(commandQueue, kernel, 1, NULL, global_work_size, NULL, 0, NULL, NULL);

Loading…
Cancel
Save