2
0
mirror of https://github.com/boostorg/compute.git synced 2026-01-26 06:22:37 +00:00
Files
compute/example/time_copy.cpp
Kyle Lutz 3bc5bfaf78 Remove timer class
This removes the timer class. The technique of measuring the time
difference between two different OpenCL markers on a command queue
is not portable to all OpenCL implementations (only works on NVIDIA).

A new internal timer class has been added which uses boost::chrono
(or std::chrono if BOOST_COMPUTE_TIMER_USE_STD_CHRONO is defined).
This new timer is used by the benchmarks to measure time elapsed
on the host.
2013-05-20 21:08:42 -04:00

2.0 KiB