unsigned long int ns, ps;
for (unsigned int i = 0; i < instrLen; i++)
{
- ns = get_time();
- if (i > 0)
- {
- printf("%s: %lu\n", instr[i].n, ns - ps);
- }
- ps = ns;
+ //ns = get_time();
+ //if (i > 0)
+ //{
+ // printf("%s: %lu\n", instr[i].n, ns - ps);
+ //}
+ //ps = ns;
cpx_t qqq;
cpx_mtx_get(&stateVector, 0, 0, &qqq);
err = clSetKernelArg(kernel, 6, sizeof(int), &colsB); gpuerr(clSetKernelArg);
//Run the program
- err = clEnqueueNDRangeKernel(cpx_mtx_command_queue, kernel, 2, NULL, (size_t[]){rowsR, colsR}, NULL, 0, NULL, NULL);
+ err = clEnqueueNDRangeKernel(cpx_mtx_command_queue, kernel, 1, NULL, (size_t[]){rowsR}, NULL, 0, NULL, NULL);
gpuerr(clEnqueueNDRangeKernel);
//Wait for completion