Sha256: a2cf2a61b3aa567b3b782f711907bf77fec01c3db72d6d1a37587e7222bbf74f

Contents?: true

Size: 625 Bytes

Versions: 2

Compression:

Stored size: 625 Bytes

Contents

  
  }
  
  // Stop the timer for the measurement of the kernel execution time
  clFinish(bones_queue);
  cl_ulong end2, start2;
  bones_errors = clWaitForEvents(1, &bones_event); error_check(bones_errors);
  bones_errors = clGetEventProfilingInfo(bones_event, CL_PROFILING_COMMAND_END, sizeof(cl_ulong), &end2, 0); error_check(bones_errors);
  bones_errors = clGetEventProfilingInfo(bones_event, CL_PROFILING_COMMAND_START, sizeof(cl_ulong), &start2, 0); error_check(bones_errors);
  float bones_timer2 = 0.000001 * (end2-start2);
  printf(">>>\t\t Execution time [kernel <algorithm_basename>]: %.3lf ms \n", bones_timer2);

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bones-compiler-1.6.0 skeletons/CPU-OPENCL-INTEL/common/timer_2_stop.c
bones-compiler-1.3.1 skeletons/CPU-OPENCL-INTEL/common/timer_2_stop.c